Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001244, allocations: 109.3 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.001286/0.001286, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.707/2.707, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 71.88 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9594/0.9608, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002354/0.9632, allocations: 0.8293 MB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001629/0.9634, allocations: 35.84 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.9635, allocations: 3.938 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.515e-05/0.9636, allocations: 11.92 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.391e-05/0.9637, allocations: 11.88 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.302e-05/0.9637, allocations: 15.98 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.9639, allocations: 67.77 kB / 1.209 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.9641, allocations: 47.91 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.9641, allocations: 19.94 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.9642, allocations: 35.78 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.9642, allocations: 4 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.9643, allocations: 8 kB / 1.21 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.9643, allocations: 11.94 kB / 1.21 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.9643, allocations: 39.8 kB / 1.21 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.9645, allocations: 67.64 kB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9645, allocations: 4 kB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9645, allocations: 3.938 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.9645, allocations: 0 / 1.21 GB, free: 12.43 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.0004886/0.965, allocations: 392.8 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.965, allocations: 8.031 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.9651, allocations: 8.844 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.9653, allocations: 192.1 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.9654, allocations: 4.375 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.9654, allocations: 8.375 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.9656, allocations: 99.94 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.9656, allocations: 192 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.9656, allocations: 3.938 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.9657, allocations: 4 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.314e-05/0.9657, allocations: 39.92 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005919/0.9663, allocations: 432.5 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.086e-05/0.9664, allocations: 49.34 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.9665, allocations: 17.77 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.9665, allocations: 0 / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.9665, allocations: 38.56 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.9665, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001851/0.9667, allocations: 57.48 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.9668, allocations: 77.11 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.9669, allocations: 160.1 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.9669, allocations: 25.7 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.967, allocations: 104 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.967, allocations: 7.906 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.9671, allocations: 13.72 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.9672, allocations: 327.1 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.9672, allocations: 7.938 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.9672, allocations: 21.7 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.186e-05/0.9673, allocations: 21.72 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9673, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/0.9674, allocations: 65.53 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.9674, allocations: 8.062 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.9674, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.9675, allocations: 3.938 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.9675, allocations: 8 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.9676, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.9676, allocations: 11.84 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.9676, allocations: 0 / 1.212 GB, free: 10 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 8.312e-05/0.9677, allocations: 113.8 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.9677, allocations: 11.84 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.9678, allocations: 23.8 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.9678, allocations: 0 / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9678, allocations: 0 / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.9678, allocations: 85.02 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.9679, allocations: 3.984 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.968, allocations: 7.938 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.968, allocations: 0 / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001237/0.9681, allocations: 200.4 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001722/0.9683, allocations: 301.9 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.928e-05/0.9683, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.282e-05/0.9684, allocations: 124.9 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of Backend: time 7.22e-07/0.9684, allocations: 0 / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.9689, allocations: 99.86 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005394/0.9694, allocations: 0.6083 MB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of Templates: time 0.002903/0.9723, allocations: 0.5356 MB / 1.214 GB, free: 7.793 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches