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.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_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.001099/0.0011, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009387/0.009388, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.677/1.677, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.501/2.501, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004509, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8697/0.8701, allocations: 142.4 MB / 0.955 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001018/0.8712, allocations: 0.5904 MB / 0.9556 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001082/0.8713, allocations: 49.91 kB / 0.9557 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.8714, allocations: 6.438 kB / 0.9557 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.8714, allocations: 7.922 kB / 0.9557 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.229e-05/0.8715, allocations: 5.219 kB / 0.9557 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.588e-05/0.8716, allocations: 19.77 kB / 0.9557 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.8717, allocations: 73 kB / 0.9558 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.8719, allocations: 54.3 kB / 0.9558 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.779e-05/0.8719, allocations: 32.2 kB / 0.9559 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.872, allocations: 23.83 kB / 0.9559 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.872, allocations: 2.344 kB / 0.9559 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.872, allocations: 1.5 kB / 0.9559 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.8721, allocations: 7.344 kB / 0.9559 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.8721, allocations: 60 kB / 0.9559 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.8722, allocations: 90.61 kB / 0.956 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8723, allocations: 0 / 0.956 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8723, allocations: 0 / 0.956 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.8723, allocations: 1 kB / 0.956 GB, free: 6.859 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.0004707/0.8728, allocations: 381.9 kB / 0.9564 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.8728, allocations: 9.188 kB / 0.9564 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.8729, allocations: 13.94 kB / 0.9564 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.8731, allocations: 207.9 kB / 0.9566 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.8731, allocations: 11.98 kB / 0.9566 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.8732, allocations: 9.938 kB / 0.9566 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.8734, allocations: 108.3 kB / 0.9567 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.8734, allocations: 5.156 kB / 0.9567 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.8734, allocations: 4 kB / 0.9568 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.8734, allocations: 6.906 kB / 0.9568 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.8736, allocations: 39.17 kB / 0.9568 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.8742, allocations: 466.1 kB / 0.9572 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.255e-05/0.8743, allocations: 43.3 kB / 0.9573 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.8743, allocations: 19.39 kB / 0.9573 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.8744, allocations: 4 kB / 0.9573 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.8744, allocations: 35.53 kB / 0.9573 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.8744, allocations: 5.594 kB / 0.9573 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002418/0.8747, allocations: 50.92 kB / 0.9574 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.8747, allocations: 86.11 kB / 0.9575 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.8749, allocations: 181.8 kB / 0.9576 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.875, allocations: 30.95 kB / 0.9577 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.875, allocations: 117.2 kB / 0.9578 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.8751, allocations: 5.219 kB / 0.9578 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.8751, allocations: 11.06 kB / 0.9578 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.8752, allocations: 324.1 kB / 0.9581 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.8752, allocations: 12.11 kB / 0.9581 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.8752, allocations: 14.66 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.918e-05/0.8753, allocations: 30.75 kB / 0.9582 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8753, allocations: 0 / 0.9582 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.243e-05/0.8754, allocations: 59.75 kB / 0.9582 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.8754, allocations: 5.031 kB / 0.9582 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8754, allocations: 1.438 kB / 0.9582 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.8755, allocations: 0 / 0.9582 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.8755, allocations: 5.625 kB / 0.9582 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.8756, allocations: 1.188 kB / 0.9582 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.8756, allocations: 18.62 kB / 0.9583 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.8756, allocations: 5.375 kB / 0.9583 GB, free: 4.617 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.367e-05/0.8757, allocations: 117.2 kB / 0.9584 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.8757, allocations: 9.375 kB / 0.9584 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.8758, allocations: 15.83 kB / 0.9584 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8758, allocations: 1.125 kB / 0.9584 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.8758, allocations: 1.094 kB / 0.9584 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8758, allocations: 3.938 kB / 0.9584 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.8762, allocations: 481 kB / 0.9589 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8762, allocations: 1.125 kB / 0.9589 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.8762, allocations: 3.188 kB / 0.9589 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.8762, allocations: 1.125 kB / 0.9589 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.8762, allocations: 3.938 kB / 0.9589 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.8762, allocations: 1.188 kB / 0.9589 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8762, allocations: 1.156 kB / 0.9589 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.411e-05/0.8763, allocations: 78.64 kB / 0.9589 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.8764, allocations: 101.5 kB / 0.959 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.8764, allocations: 5.031 kB / 0.959 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.8764, allocations: 0 / 0.959 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.8764, allocations: 5.125 kB / 0.9591 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.8765, allocations: 1.031 kB / 0.9591 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001209/0.8766, allocations: 135.3 kB / 0.9592 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8766, allocations: 4.031 kB / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002007/0.8768, allocations: 12.03 kB / 0.9592 GB, free: 3.652 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 (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.0001533/0.877, allocations: 95.94 kB / 0.9593 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.8771, allocations: 14.47 kB / 0.9593 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8771, allocations: 1.344 kB / 0.9593 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.8771, allocations: 11.88 kB / 0.9593 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.8773, allocations: 7.719 kB / 0.9593 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.8778, allocations: 212.1 kB / 0.9595 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.8781, allocations: 0.703 MB / 0.9602 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.285e-05/0.8782, allocations: 9.766 kB / 0.9602 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.8782, allocations: 10.88 kB / 0.9602 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of SimCode: time 6.61e-07/0.8782, allocations: 1.312 kB / 0.9602 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of Templates: time 0.003885/0.8821, allocations: 486.7 kB / 0.9607 GB, free: 2.387 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