Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001728/0.001728, allocations: 113.7 kB / 16.42 MB, free: 6.516 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.001716/0.001716, allocations: 187.9 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.452/1.452, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 72.11 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.095, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002553/1.098, allocations: 0.8275 MB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001963/1.098, allocations: 43.78 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/1.098, allocations: 0 / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.141e-05/1.098, allocations: 11.88 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.838e-05/1.098, allocations: 7.938 kB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.104e-05/1.098, allocations: 23.97 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/1.098, allocations: 59.78 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/1.098, allocations: 39.98 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.927e-05/1.099, allocations: 23.92 kB / 1.168 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/1.099, allocations: 35.78 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/1.099, allocations: 4 kB / 1.168 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/1.099, allocations: 8 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/1.099, allocations: 19.86 kB / 1.168 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/1.099, allocations: 31.81 kB / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/1.099, allocations: 71.7 kB / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.099, allocations: 0 / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/1.099, allocations: 0 / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.421e-06/1.099, allocations: 0 / 1.168 GB, free: 2.641 MB / 0.8887 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.0004663/1.099, allocations: 384.8 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/1.099, allocations: 8.625 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/1.099, allocations: 8.844 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/1.1, allocations: 208.1 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/1.1, allocations: 384 / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/1.1, allocations: 12.38 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/1.1, allocations: 90.39 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.1, allocations: 8.062 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/1.1, allocations: 7.938 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.1, allocations: 4 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/1.1, allocations: 39.97 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006107/1.101, allocations: 436.7 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.746e-05/1.101, allocations: 49.16 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/1.101, allocations: 13.78 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/1.101, allocations: 0 / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/1.101, allocations: 38.5 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.101, allocations: 0 / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002391/1.101, allocations: 61.53 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/1.101, allocations: 81.05 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/1.101, allocations: 156.7 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/1.101, allocations: 29.7 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/1.101, allocations: 104 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/1.101, allocations: 7.906 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/1.101, allocations: 17.72 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.102, allocations: 323.1 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/1.102, allocations: 4 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/1.102, allocations: 17.72 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.197e-05/1.102, allocations: 21.72 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.102, allocations: 0 / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001082/1.102, allocations: 65.53 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.102, allocations: 8.062 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.102, allocations: 0 / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.102, allocations: 7.938 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/1.102, allocations: 4 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.102, allocations: 0 / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/1.102, allocations: 11.89 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/1.102, allocations: 3.938 kB / 1.171 GB, free: 204 kB / 0.8887 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.328e-05/1.102, allocations: 117.8 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/1.102, allocations: 7.906 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/1.102, allocations: 19.81 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.102, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.102, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/1.102, allocations: 89 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/1.102, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/1.102, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/1.102, allocations: 4 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001163/1.103, allocations: 200.2 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001884/1.103, allocations: 305.9 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.892e-05/1.103, allocations: 4 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.137e-05/1.103, allocations: 119.2 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of Backend: time 4.01e-07/1.103, allocations: 7.938 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004304/1.103, allocations: 92.61 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005792/1.104, allocations: 0.6004 MB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of Templates: time 0.002792/1.107, allocations: 0.5306 MB / 1.173 GB, free: 14 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches