Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 113.1 kB / 16.81 MB, free: 5.77 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.001705/0.001705, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.587/1.587, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.968/2.968, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 72.3 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3709, allocations: 168.7 MB / 1.262 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00224/0.3731, allocations: 0.8283 MB / 1.263 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001274/0.3732, allocations: 44.12 kB / 1.263 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.3733, allocations: 4 kB / 1.263 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.068e-05/0.3733, allocations: 11.86 kB / 1.263 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.414e-05/0.3734, allocations: 7.875 kB / 1.263 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.514e-05/0.3735, allocations: 23.98 kB / 1.263 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.3736, allocations: 59.83 kB / 1.263 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.3738, allocations: 35.88 kB / 1.263 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/0.3739, allocations: 19.94 kB / 1.263 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.3739, allocations: 31.78 kB / 1.263 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.374, allocations: 8 kB / 1.263 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.374, allocations: 4 kB / 1.263 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.374, allocations: 19.88 kB / 1.263 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.374, allocations: 35.78 kB / 1.263 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.3742, allocations: 71.59 kB / 1.263 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3742, allocations: 0 / 1.263 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3742, allocations: 4 kB / 1.263 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.3742, allocations: 0 / 1.263 GB, free: 11.72 MB / 0.9825 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.0006018/0.3748, allocations: 379.1 kB / 1.264 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3749, allocations: 8.031 kB / 1.264 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.3749, allocations: 16.84 kB / 1.264 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.3752, allocations: 204.1 kB / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.3752, allocations: 4.375 kB / 1.264 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.3752, allocations: 8.375 kB / 1.264 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.3754, allocations: 91.95 kB / 1.264 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.3754, allocations: 8.109 kB / 1.264 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.3755, allocations: 11.94 kB / 1.264 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3755, allocations: 0 / 1.264 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.296e-05/0.3755, allocations: 35.98 kB / 1.264 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/0.3762, allocations: 432.8 kB / 1.264 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.424e-05/0.3763, allocations: 45.08 kB / 1.264 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.3763, allocations: 13.84 kB / 1.264 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3763, allocations: 4 kB / 1.264 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.982e-05/0.3764, allocations: 42.44 kB / 1.264 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.3764, allocations: 4 kB / 1.264 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000191/0.3766, allocations: 49.59 kB / 1.265 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.3766, allocations: 85.03 kB / 1.265 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.3768, allocations: 150.3 kB / 1.265 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3768, allocations: 29.7 kB / 1.265 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.3769, allocations: 100.1 kB / 1.265 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/0.3769, allocations: 11.89 kB / 1.265 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.377, allocations: 29.91 kB / 1.265 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3771, allocations: 314.8 kB / 1.265 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.3772, allocations: 7.984 kB / 1.265 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.3772, allocations: 17.72 kB / 1.265 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.581e-05/0.3772, allocations: 21.72 kB / 1.265 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3772, allocations: 4 kB / 1.265 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.811e-05/0.3773, allocations: 65.58 kB / 1.265 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3773, allocations: 4 kB / 1.265 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3773, allocations: 0 / 1.265 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3774, allocations: 7.938 kB / 1.265 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/0.3774, allocations: 4 kB / 1.265 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.3774, allocations: 0 / 1.265 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3e-05/0.3775, allocations: 4 kB / 1.265 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.3775, allocations: 0 / 1.265 GB, free: 9.281 MB / 0.9825 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 9.504e-05/0.3776, allocations: 125.8 kB / 1.265 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.3776, allocations: 11.94 kB / 1.265 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.3776, allocations: 15.81 kB / 1.266 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3776, allocations: 0 / 1.266 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3776, allocations: 0 / 1.266 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.3777, allocations: 93 kB / 1.266 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3777, allocations: 0 / 1.266 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.3778, allocations: 0 / 1.266 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.3778, allocations: 4 kB / 1.266 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001442/0.378, allocations: 204.2 kB / 1.266 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001862/0.3782, allocations: 294 kB / 1.266 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.398e-05/0.3782, allocations: 7.984 kB / 1.266 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001107/0.3783, allocations: 121.9 kB / 1.266 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of Backend: time 4.41e-07/0.3783, allocations: 8.031 kB / 1.266 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004454/0.3788, allocations: 86.39 kB / 1.266 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005702/0.3793, allocations: 0.617 MB / 1.267 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of Templates: time 0.003234/0.3826, allocations: 0.5426 MB / 1.267 GB, free: 7.059 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches