Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008442/0.0008441, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001095/0.001095, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.53/2.53, allocations: 390.9 MB / 0.666 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 12 kB / 0.8153 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8729/0.8733, allocations: 142.4 MB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001178/0.8746, allocations: 0.557 MB / 0.955 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001457/0.8747, allocations: 46.03 kB / 0.955 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.8748, allocations: 5.562 kB / 0.955 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.8748, allocations: 7.922 kB / 0.955 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.402e-05/0.8749, allocations: 8.953 kB / 0.955 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.224e-05/0.875, allocations: 19.7 kB / 0.9551 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.8751, allocations: 72.97 kB / 0.9551 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.8753, allocations: 38.97 kB / 0.9552 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.8754, allocations: 26.02 kB / 0.9552 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.8755, allocations: 21.27 kB / 0.9552 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.8755, allocations: 2.469 kB / 0.9552 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.8756, allocations: 6.188 kB / 0.9552 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.8756, allocations: 6.344 kB / 0.9552 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.8756, allocations: 34.02 kB / 0.9553 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.8757, allocations: 76.23 kB / 0.9553 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.8758, allocations: 3.938 kB / 0.9553 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.066e-06/0.8758, allocations: 7.938 kB / 0.9554 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.8758, allocations: 0 / 0.9554 GB, free: 6.977 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005358/0.8763, allocations: 379.9 kB / 0.9557 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/0.8764, allocations: 8.438 kB / 0.9557 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.8765, allocations: 17.27 kB / 0.9557 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.8767, allocations: 196.5 kB / 0.9559 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.8767, allocations: 4.312 kB / 0.9559 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.8768, allocations: 9.281 kB / 0.9559 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.877, allocations: 112.6 kB / 0.956 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.877, allocations: 1.344 kB / 0.956 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.877, allocations: 4 kB / 0.956 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.8771, allocations: 2.406 kB / 0.9561 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.8772, allocations: 43.19 kB / 0.9561 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.8778, allocations: 469.7 kB / 0.9565 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.442e-05/0.8779, allocations: 37.64 kB / 0.9566 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.8779, allocations: 19.56 kB / 0.9566 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.8779, allocations: 4.156 kB / 0.9566 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.878, allocations: 39.95 kB / 0.9566 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.878, allocations: 3.938 kB / 0.9566 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002231/0.8782, allocations: 55.45 kB / 0.9567 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.8783, allocations: 82.06 kB / 0.9568 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.8785, allocations: 189.1 kB / 0.957 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.8785, allocations: 27.05 kB / 0.957 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.8786, allocations: 117.2 kB / 0.9571 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.8786, allocations: 10.84 kB / 0.9571 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.8786, allocations: 0 / 0.9571 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.8787, allocations: 317.2 kB / 0.9574 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.8787, allocations: 6.734 kB / 0.9574 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.8787, allocations: 18.81 kB / 0.9574 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.8788, allocations: 8.938 kB / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8788, allocations: 0 / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.116e-05/0.8789, allocations: 67.84 kB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.8789, allocations: 4.812 kB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.8789, allocations: 1.062 kB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.8789, allocations: 1 kB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.879, allocations: 5 kB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.879, allocations: 1 kB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.388e-05/0.8791, allocations: 14.77 kB / 0.9575 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.8791, allocations: 1.406 kB / 0.9575 GB, free: 4.789 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.588e-05/0.8792, allocations: 121.8 kB / 0.9576 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.8792, allocations: 13.34 kB / 0.9577 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.8792, allocations: 15.52 kB / 0.9577 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.8793, allocations: 1.094 kB / 0.9577 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8793, allocations: 1.062 kB / 0.9577 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8793, allocations: 0 / 0.9577 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.8796, allocations: 481.7 kB / 0.9581 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.8796, allocations: 4.062 kB / 0.9581 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.8797, allocations: 3.562 kB / 0.9581 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.8797, allocations: 1.219 kB / 0.9581 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.8797, allocations: 0 / 0.9581 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.8797, allocations: 1.125 kB / 0.9581 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8797, allocations: 5.266 kB / 0.9581 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.658e-05/0.8798, allocations: 78.14 kB / 0.9582 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.8798, allocations: 97.5 kB / 0.9583 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.8799, allocations: 5.125 kB / 0.9583 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.067e-05/0.8799, allocations: 5.156 kB / 0.9583 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.8799, allocations: 5.203 kB / 0.9583 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.8799, allocations: 0 / 0.9583 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001151/0.8801, allocations: 130.3 kB / 0.9585 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8801, allocations: 0 / 0.9585 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001961/0.8803, allocations: 11.97 kB / 0.9585 GB, free: 3.824 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001904/0.8805, allocations: 109.5 kB / 0.9586 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.8806, allocations: 15.94 kB / 0.9586 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.8806, allocations: 3.938 kB / 0.9586 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.8806, allocations: 7.25 kB / 0.9586 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.8808, allocations: 9.984 kB / 0.9586 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.8813, allocations: 215.1 kB / 0.9588 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.8816, allocations: 0.702 MB / 0.9595 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.479e-05/0.8817, allocations: 6.188 kB / 0.9595 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.8817, allocations: 11.47 kB / 0.9595 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8817, allocations: 1.156 kB / 0.9595 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of Templates: time 0.003479/0.8852, allocations: 476.2 kB / 0.96 GB, free: 2.555 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches