Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009216/0.009216, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001913/0.001913, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.093, allocations: 140.4 MB / 1.088 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002897/1.096, allocations: 0.8294 MB / 1.089 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001499/1.096, allocations: 45.22 kB / 1.089 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/1.096, allocations: 2.062 kB / 1.089 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.89e-05/1.096, allocations: 9.797 kB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/1.096, allocations: 10.08 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.983e-05/1.096, allocations: 15.55 kB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/1.096, allocations: 64.22 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/1.097, allocations: 42.42 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/1.097, allocations: 26.19 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/1.097, allocations: 30.28 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/1.097, allocations: 9.594 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/1.097, allocations: 10.59 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/1.097, allocations: 16.83 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/1.097, allocations: 32.73 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/1.097, allocations: 71.17 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.097, allocations: 0.6094 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.495e-06/1.097, allocations: 1.094 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.097, allocations: 0 / 1.089 GB, free: 5.008 MB / 0.8575 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.0004225/1.097, allocations: 379.6 kB / 1.089 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.098, allocations: 10.14 kB / 1.089 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/1.098, allocations: 14.33 kB / 1.089 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/1.098, allocations: 195.8 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/1.098, allocations: 4.219 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/1.098, allocations: 8.781 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/1.098, allocations: 93.39 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.098, allocations: 192 / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/1.098, allocations: 9.125 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/1.098, allocations: 2.688 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.77e-05/1.098, allocations: 44.08 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/1.099, allocations: 441.6 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.636e-05/1.099, allocations: 38.27 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/1.099, allocations: 28.39 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/1.099, allocations: 1.375 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/1.099, allocations: 36.39 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.099, allocations: 0 / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001874/1.099, allocations: 56.94 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/1.099, allocations: 81.77 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/1.099, allocations: 159.9 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/1.099, allocations: 25.7 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/1.099, allocations: 112.5 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-06/1.099, allocations: 5.109 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/1.099, allocations: 18.86 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.494e-05/1.099, allocations: 316.1 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/1.099, allocations: 8.234 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.067e-05/1.099, allocations: 23.33 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.882e-05/1.1, allocations: 27.23 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.1, allocations: 0 / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.799e-05/1.1, allocations: 57.92 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.1, allocations: 6 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.1, allocations: 4.734 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/1.1, allocations: 1.25 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/1.1, allocations: 10.33 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.1, allocations: 4.844 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/1.1, allocations: 9.859 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/1.1, allocations: 1.734 kB / 1.091 GB, free: 2.918 MB / 0.8575 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 5.902e-05/1.1, allocations: 114.5 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/1.1, allocations: 8.781 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/1.1, allocations: 12.31 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/1.1, allocations: 0 / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.1, allocations: 1.344 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.1, allocations: 4.797 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/1.1, allocations: 474.8 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.1, allocations: 1.344 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/1.1, allocations: 2.75 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/1.1, allocations: 0.8125 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/1.1, allocations: 1.922 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.1, allocations: 5 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.1, allocations: 5.156 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.915e-05/1.1, allocations: 84.44 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/1.1, allocations: 90.61 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/1.1, allocations: 1.094 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.224e-05/1.101, allocations: 1.688 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/1.101, allocations: 1.438 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-06/1.101, allocations: 5.188 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.815e-05/1.101, allocations: 120.9 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/1.101, allocations: 0 / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001965/1.101, allocations: 14.67 kB / 1.092 GB, free: 1.996 MB / 0.8575 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.0001115/1.101, allocations: 98.45 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.203e-05/1.101, allocations: 20.92 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.101, allocations: 0 / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/1.101, allocations: 8.25 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/1.101, allocations: 11.95 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/1.102, allocations: 157 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/1.102, allocations: 0.6918 MB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.916e-05/1.102, allocations: 7.797 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/1.102, allocations: 14.75 kB / 1.093 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/1.102, allocations: 0.9688 kB / 1.093 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of Templates: time 0.002841/1.105, allocations: 458 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches