Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, 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.001566/0.001566, allocations: 196.8 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.542/1.542, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.678/2.678, allocations: 390.2 MB / 0.6647 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 67.89 kB / 0.8125 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8673/0.8688, allocations: 140.4 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.003142/0.872, allocations: 0.8234 MB / 0.9504 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001288/0.8721, allocations: 48.09 kB / 0.9504 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.8722, allocations: 1.875 kB / 0.9504 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.845e-05/0.8723, allocations: 7.875 kB / 0.9504 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.923e-05/0.8724, allocations: 9.625 kB / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.548e-05/0.8724, allocations: 22.66 kB / 0.9505 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.8726, allocations: 56.33 kB / 0.9505 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.8728, allocations: 45.05 kB / 0.9506 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.277e-05/0.8729, allocations: 22.95 kB / 0.9506 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.8729, allocations: 36 kB / 0.9506 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.873, allocations: 6.031 kB / 0.9506 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.873, allocations: 5.906 kB / 0.9506 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.873, allocations: 14.66 kB / 0.9507 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.455e-05/0.8731, allocations: 39.17 kB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.8732, allocations: 69.64 kB / 0.9508 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.8732, allocations: 1.188 kB / 0.9508 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.817e-06/0.8732, allocations: 0 / 0.9508 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.8733, allocations: 0 / 0.9508 GB, free: 8.301 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004913/0.8738, allocations: 380 kB / 0.9511 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.8738, allocations: 8.75 kB / 0.9511 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.8739, allocations: 8.688 kB / 0.9511 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.8741, allocations: 199.2 kB / 0.9513 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.8741, allocations: 3.562 kB / 0.9513 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.8741, allocations: 8.219 kB / 0.9513 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.8743, allocations: 92 kB / 0.9514 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.8743, allocations: 192 / 0.9514 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.8743, allocations: 9.375 kB / 0.9514 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.8744, allocations: 1.406 kB / 0.9514 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.8744, allocations: 43.73 kB / 0.9515 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.875, allocations: 433.2 kB / 0.9519 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.881e-05/0.875, allocations: 41.41 kB / 0.9519 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.8751, allocations: 23.55 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.8751, allocations: 0 / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.8751, allocations: 31.75 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.8751, allocations: 1 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.8753, allocations: 59.36 kB / 0.952 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.8754, allocations: 77.11 kB / 0.9521 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.8756, allocations: 168 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.8756, allocations: 29.7 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.8756, allocations: 112.9 kB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.267e-06/0.8757, allocations: 3.906 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.8757, allocations: 21.42 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.8758, allocations: 325 kB / 0.9527 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.8758, allocations: 3.719 kB / 0.9527 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/0.8758, allocations: 22.92 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.8759, allocations: 26.56 kB / 0.9528 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8759, allocations: 0 / 0.9528 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.867e-05/0.876, allocations: 63.28 kB / 0.9529 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.876, allocations: 4.438 kB / 0.9529 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.876, allocations: 4.969 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.8761, allocations: 1.156 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.8761, allocations: 5.469 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.8762, allocations: 5.25 kB / 0.9529 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.051e-05/0.8762, allocations: 2 kB / 0.9529 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.8762, allocations: 1.031 kB / 0.9529 GB, free: 6.133 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.473e-05/0.8763, allocations: 114.2 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.8763, allocations: 8.344 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.8764, allocations: 18.42 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8764, allocations: 0 / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.8764, allocations: 5.219 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.8764, allocations: 0 / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.8767, allocations: 470.9 kB / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8767, allocations: 0 / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.899e-05/0.8767, allocations: 11.78 kB / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.8768, allocations: 0 / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.8768, allocations: 1.312 kB / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.8768, allocations: 1.156 kB / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8768, allocations: 0 / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.485e-05/0.8769, allocations: 90.3 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.8769, allocations: 97.05 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.8769, allocations: 1.781 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.794e-05/0.877, allocations: 0 / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.877, allocations: 5.5 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.877, allocations: 0 / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.169e-05/0.8771, allocations: 133 kB / 0.9538 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8771, allocations: 0 / 0.9538 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000209/0.8773, allocations: 7.625 kB / 0.9538 GB, free: 5.168 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.0001407/0.8775, allocations: 96.59 kB / 0.9539 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.8776, allocations: 18.58 kB / 0.9539 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8776, allocations: 0 / 0.9539 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.425e-05/0.8776, allocations: 7.938 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.8778, allocations: 16.38 kB / 0.9539 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.8782, allocations: 153.3 kB / 0.9541 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.8786, allocations: 0.7019 MB / 0.9548 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.8786, allocations: 4.312 kB / 0.9548 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.8787, allocations: 11.66 kB / 0.9548 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8787, allocations: 0 / 0.9548 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.003031/0.8817, allocations: 450.1 kB / 0.9552 GB, free: 3.965 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches