Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001195, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.001115/0.001115, allocations: 192.3 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.391/1.391, 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.653/2.653, allocations: 469.4 MB / 0.7428 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 72.09 kB / 1.066 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9746/0.9762, allocations: 159.1 MB / 1.221 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002321/0.9785, allocations: 0.8275 MB / 1.222 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001362/0.9787, allocations: 43.84 kB / 1.222 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.9788, allocations: 0 / 1.222 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.959e-05/0.9788, allocations: 7.875 kB / 1.222 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.979, allocations: 15.86 kB / 1.222 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.601e-05/0.979, allocations: 19.98 kB / 1.222 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.9792, allocations: 55.84 kB / 1.222 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.9793, allocations: 47.86 kB / 1.222 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.9794, allocations: 31.84 kB / 1.222 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.9795, allocations: 27.8 kB / 1.222 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.9795, allocations: 8 kB / 1.222 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.9795, allocations: 4 kB / 1.222 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.9795, allocations: 19.92 kB / 1.222 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.9796, allocations: 39.8 kB / 1.222 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.9797, allocations: 67.64 kB / 1.222 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9797, allocations: 0 / 1.222 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9797, allocations: 4 kB / 1.222 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.9798, allocations: 0 / 1.222 GB, free: 1.188 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.000488/0.9802, allocations: 380.8 kB / 1.222 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.9803, allocations: 12.61 kB / 1.222 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.9803, allocations: 12.84 kB / 1.222 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.9806, allocations: 192.2 kB / 1.223 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.9806, allocations: 4.375 kB / 1.223 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.9806, allocations: 8.375 kB / 1.223 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.9809, allocations: 97.92 kB / 1.223 GB, free: 412 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.9809, allocations: 192 / 1.223 GB, free: 412 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.9809, allocations: 7.938 kB / 1.223 GB, free: 404 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.9809, allocations: 3.984 kB / 1.223 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.327e-05/0.981, allocations: 39.92 kB / 1.223 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.9816, allocations: 432.6 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.391e-05/0.9817, allocations: 45.19 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.9817, allocations: 21.83 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.9817, allocations: 3.938 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.9818, allocations: 38.55 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.9818, allocations: 0 / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.982, allocations: 61.48 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.982, allocations: 77.11 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.9822, allocations: 156.9 kB / 1.224 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.9822, allocations: 29.7 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.9823, allocations: 111.9 kB / 1.224 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.9823, allocations: 0 / 1.224 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.9823, allocations: 25.88 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.9824, allocations: 322.8 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.9825, allocations: 4 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.9825, allocations: 17.72 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.043e-05/0.9825, allocations: 29.64 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9826, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.89e-05/0.9827, allocations: 61.55 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.9827, allocations: 8 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.9827, allocations: 0 / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.9827, allocations: 3.938 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.9828, allocations: 15.98 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.9828, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.9828, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.9828, allocations: 7.938 kB / 1.224 GB, free: 14.74 MB / 0.9512 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.812e-05/0.9829, allocations: 120.5 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.983, allocations: 7.906 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.983, allocations: 11.81 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.983, allocations: 3.984 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.983, allocations: 4 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.9831, allocations: 81.02 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.9831, allocations: 4 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.9832, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.9832, allocations: 3.984 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001195/0.9833, allocations: 196.2 kB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001682/0.9835, allocations: 301.9 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.886e-05/0.9835, allocations: 4 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001016/0.9836, allocations: 121.4 kB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of Backend: time 5.31e-07/0.9837, allocations: 4 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004146/0.9841, allocations: 94.33 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004853/0.9846, allocations: 0.6121 MB / 1.226 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of Templates: time 0.002555/0.9871, allocations: 0.5249 MB / 1.226 GB, free: 12.55 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches