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.001571/0.001571, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002063/0.002063, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.505/2.505, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.88 kB / 0.8125 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9708/0.9721, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002309/0.9745, allocations: 0.8781 MB / 0.9504 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001433/0.9747, allocations: 54.75 kB / 0.9505 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.9747, allocations: 1.344 kB / 0.9505 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.74e-05/0.9748, allocations: 15.8 kB / 0.9505 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.932e-05/0.9749, allocations: 17.14 kB / 0.9505 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.385e-05/0.975, allocations: 23.69 kB / 0.9505 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.9751, allocations: 78.78 kB / 0.9506 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.9753, allocations: 48.59 kB / 0.9507 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.9754, allocations: 33.7 kB / 0.9507 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.36e-05/0.9754, allocations: 38.03 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.9755, allocations: 8.281 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.9755, allocations: 7.031 kB / 0.9508 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.9755, allocations: 22.72 kB / 0.9508 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.9756, allocations: 48.06 kB / 0.9508 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.9757, allocations: 91.3 kB / 0.9509 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.9757, allocations: 0 / 0.9509 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.497e-06/0.9757, allocations: 1.688 kB / 0.9509 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.9757, allocations: 0 / 0.9509 GB, free: 8.168 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.0004518/0.9762, allocations: 395.5 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.9762, allocations: 9.688 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.9763, allocations: 10.84 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.9765, allocations: 208.8 kB / 0.9515 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.9765, allocations: 12.56 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.9765, allocations: 5.25 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.9767, allocations: 115.8 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.9767, allocations: 0 / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.9768, allocations: 5.25 kB / 0.9516 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.9768, allocations: 2.75 kB / 0.9516 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.309e-05/0.9769, allocations: 38.77 kB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.9774, allocations: 470.1 kB / 0.9521 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.528e-05/0.9774, allocations: 44.02 kB / 0.9522 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.9775, allocations: 24.53 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.9775, allocations: 0 / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.9775, allocations: 35.94 kB / 0.9522 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.9775, allocations: 0 / 0.9522 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001762/0.9777, allocations: 56.56 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.9777, allocations: 77.11 kB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.9779, allocations: 182.9 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.9779, allocations: 29.7 kB / 0.9526 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.978, allocations: 113.1 kB / 0.9527 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.154e-06/0.978, allocations: 9.266 kB / 0.9527 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.978, allocations: 18.19 kB / 0.9527 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.19e-05/0.9781, allocations: 324.7 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.9781, allocations: 7.875 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.9781, allocations: 22.45 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.9782, allocations: 31.06 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9782, allocations: 0 / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.509e-05/0.9782, allocations: 59.56 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.9783, allocations: 7.281 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9783, allocations: 7.938 kB / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.9783, allocations: 1.75 kB / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.9784, allocations: 5.531 kB / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.9784, allocations: 4.062 kB / 0.9531 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.9784, allocations: 14.53 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.9784, allocations: 1.344 kB / 0.9532 GB, free: 5.914 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 5.588e-05/0.9785, allocations: 118.1 kB / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.9785, allocations: 9.469 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.9785, allocations: 11.78 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9786, allocations: 1.688 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9786, allocations: 0 / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.9786, allocations: 5.281 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.9789, allocations: 484.8 kB / 0.9538 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9789, allocations: 0 / 0.9538 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.9789, allocations: 3.875 kB / 0.9538 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9789, allocations: 3.938 kB / 0.9538 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.9789, allocations: 5.188 kB / 0.9538 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.9789, allocations: 5.422 kB / 0.9538 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9789, allocations: 0 / 0.9538 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.59e-05/0.979, allocations: 83.12 kB / 0.9539 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.9791, allocations: 88.94 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.9791, allocations: 5 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.006e-05/0.9791, allocations: 1.531 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.9791, allocations: 1.312 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.9791, allocations: 1.688 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.879e-05/0.9792, allocations: 142.8 kB / 0.9541 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9792, allocations: 0 / 0.9541 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001964/0.9794, allocations: 12.78 kB / 0.9541 GB, free: 4.949 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.0001167/0.9796, allocations: 96.72 kB / 0.9542 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.566e-05/0.9797, allocations: 21.47 kB / 0.9542 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9797, allocations: 3.938 kB / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.9797, allocations: 9.328 kB / 0.9542 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.9799, allocations: 14.69 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.9802, allocations: 178 kB / 0.9544 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.9803, allocations: 0.7019 MB / 0.9551 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.9804, allocations: 10.33 kB / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.9804, allocations: 12.56 kB / 0.9551 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.9804, allocations: 0 / 0.9551 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of Templates: time 0.002784/0.9832, allocations: 0.4995 MB / 0.9556 GB, free: 3.699 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