Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 106.6 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9108/0.9122, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002048/0.9143, allocations: 0.8193 MB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001423/0.9145, allocations: 43.72 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.9145, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.9146, allocations: 11.86 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.008e-05/0.9147, allocations: 11.88 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.967e-05/0.9148, allocations: 19.98 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.9149, allocations: 59.83 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.915, allocations: 43.92 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.9151, allocations: 27.91 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.9152, allocations: 35.73 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.9152, allocations: 4 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.9152, allocations: 8 kB / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.9152, allocations: 19.92 kB / 1.21 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.9153, allocations: 35.81 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.9154, allocations: 67.64 kB / 1.21 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.9154, allocations: 8 kB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9154, allocations: 3.984 kB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.9154, allocations: 0 / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004228/0.9158, allocations: 376.8 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.9159, allocations: 12.03 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.9159, allocations: 8.844 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.9162, allocations: 208 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.9162, allocations: 384 / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.9162, allocations: 12.38 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.9164, allocations: 93.77 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.9164, allocations: 192 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.9164, allocations: 3.938 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.9164, allocations: 4 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.9165, allocations: 35.98 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.917, allocations: 436.5 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.253e-05/0.9171, allocations: 45.2 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.9172, allocations: 13.78 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.9172, allocations: 4 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.9172, allocations: 42.59 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9172, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001971/0.9174, allocations: 57.47 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.9175, allocations: 77.11 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.9176, allocations: 162.6 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.9176, allocations: 29.7 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.9177, allocations: 104 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.9177, allocations: 11.89 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.9178, allocations: 17.72 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.9179, allocations: 314.8 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.9179, allocations: 7.984 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-05/0.9179, allocations: 17.72 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.918, allocations: 29.66 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.918, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001075/0.9181, allocations: 57.59 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.9181, allocations: 4 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.9181, allocations: 3.938 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.9182, allocations: 4 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.9182, allocations: 7.938 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.9182, allocations: 4.062 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.494e-05/0.9183, allocations: 7.906 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.9183, allocations: 7.875 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.9184, allocations: 117.8 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.9184, allocations: 7.906 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.9185, allocations: 15.81 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.9185, allocations: 0 / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9185, allocations: 0 / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9185, allocations: 96 / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.9188, allocations: 470.8 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.9189, allocations: 7.984 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.9189, allocations: 4 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.9189, allocations: 3.984 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.9189, allocations: 4 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.9189, allocations: 0 / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9189, allocations: 0 / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.428e-05/0.919, allocations: 85.84 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.9191, allocations: 92.94 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.9191, allocations: 0 / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.128e-05/0.9191, allocations: 0 / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.9191, allocations: 8 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.9191, allocations: 0 / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.453e-05/0.9192, allocations: 123.3 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9192, allocations: 0 / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001948/0.9194, allocations: 11.91 kB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001279/0.9196, allocations: 95.25 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.625e-05/0.9197, allocations: 23.92 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9197, allocations: 0 / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.9197, allocations: 4 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.9199, allocations: 12.19 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.9202, allocations: 194.7 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.9205, allocations: 0.6885 MB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.9205, allocations: 11.44 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.9205, allocations: 3.938 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of Templates: time 0.002313/0.9228, allocations: 0.8715 MB / 1.215 GB, free: 6.918 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches