Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00224/0.00224, allocations: 195.2 kB / 16.14 MB, free: 6.629 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.583/1.583, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.945/2.945, allocations: 437 MB / 0.71 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00359/0.00359, allocations: 63.91 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.8482, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.003843/0.852, allocations: 0.8857 MB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001883/0.8523, allocations: 47.78 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.398e-05/0.8524, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.118e-05/0.8524, allocations: 3.938 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.8526, allocations: 11.92 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.785e-05/0.8527, allocations: 8 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.8529, allocations: 59.84 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.8532, allocations: 47.94 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.835e-05/0.8533, allocations: 31.8 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.8534, allocations: 19.86 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.8534, allocations: 4 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.767e-05/0.8534, allocations: 4 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.8535, allocations: 19.92 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.8536, allocations: 27.75 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.8537, allocations: 69.72 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8538, allocations: 0 / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8538, allocations: 4 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.8538, allocations: 4 kB / 1.018 GB, free: 1.516 MB / 0.7637 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.0007329/0.8545, allocations: 377.1 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.8546, allocations: 12.03 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.8547, allocations: 8.844 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.8551, allocations: 196.1 kB / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.8551, allocations: 4.375 kB / 1.018 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.8552, allocations: 8.375 kB / 1.018 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.8554, allocations: 99.8 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.8555, allocations: 192 / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.8555, allocations: 7.938 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.8555, allocations: 4 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.8557, allocations: 43.86 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009236/0.8566, allocations: 440.6 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.463e-05/0.8567, allocations: 33.22 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.8568, allocations: 17.78 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.8568, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.323e-05/0.8569, allocations: 42.59 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.8569, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003295/0.8573, allocations: 61.48 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.8574, allocations: 81.11 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.8577, allocations: 159.5 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.8577, allocations: 25.7 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.8579, allocations: 108 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.858, allocations: 7.906 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.858, allocations: 21.97 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.8583, allocations: 314.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.488e-05/0.8583, allocations: 8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.923e-05/0.8584, allocations: 17.72 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-05/0.8585, allocations: 25.66 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.8585, allocations: 4 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001759/0.8587, allocations: 61.59 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.8587, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.8588, allocations: 3.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/0.8588, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.492e-05/0.8589, allocations: 7.938 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.8589, allocations: 3.984 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/0.859, allocations: 7.906 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.859, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 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 0.0001474/0.8592, allocations: 118.7 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.8593, allocations: 7.906 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.8593, allocations: 11.81 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8593, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8593, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8594, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007469/0.8601, allocations: 478.8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.8601, allocations: 4.062 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.8602, allocations: 7.828 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.8602, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.8602, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.8602, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8602, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.8604, allocations: 85.86 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.8605, allocations: 96.97 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.8606, allocations: 3.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.8606, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.8607, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.8607, allocations: 3.984 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001624/0.8609, allocations: 117.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8609, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003521/0.8612, allocations: 12 kB / 1.021 GB, free: 14.03 MB / 0.7794 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.0002043/0.8615, allocations: 103.2 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.8616, allocations: 19.94 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8616, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.477e-05/0.8616, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.8619, allocations: 11.94 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.8624, allocations: 186.2 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.8631, allocations: 0.6926 MB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.292e-05/0.8631, allocations: 8.422 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.8632, allocations: 11.44 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.8632, allocations: 4 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.004333/0.8675, allocations: 433.5 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches