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.006666/0.006665, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001429/0.001429, allocations: 195.1 kB / 16.68 MB, free: 5.973 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.571/1.571, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.729/2.729, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001849, allocations: 71 kB / 0.9509 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3694, allocations: 140.4 MB / 1.088 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002228/0.3717, allocations: 0.8099 MB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001173/0.3718, allocations: 43.78 kB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.3719, allocations: 4 kB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.323e-05/0.372, allocations: 11.86 kB / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.3721, allocations: 11.88 kB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.812e-05/0.3721, allocations: 15.98 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3722, allocations: 63.84 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.3724, allocations: 43.95 kB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.309e-05/0.3725, allocations: 27.81 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.638e-05/0.3725, allocations: 31.78 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3725, allocations: 4 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.3725, allocations: 12 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.3726, allocations: 11.98 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.3726, allocations: 35.73 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.3727, allocations: 75.59 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3728, allocations: 0 / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3728, allocations: 3.938 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3728, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 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.0004605/0.3732, allocations: 383.1 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3733, allocations: 8.031 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.3733, allocations: 12.89 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.3736, allocations: 200.2 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3736, allocations: 12.38 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.3736, allocations: 4.375 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.3738, allocations: 97.59 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3738, allocations: 192 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3738, allocations: 11.94 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3738, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.82e-05/0.3739, allocations: 35.98 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.3745, allocations: 436.7 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.021e-05/0.3746, allocations: 37.14 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.3746, allocations: 29.81 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.3747, allocations: 4 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.3747, allocations: 30.56 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.405e-06/0.3747, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001746/0.3749, allocations: 57.47 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3749, allocations: 85.09 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.3751, allocations: 157 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3751, allocations: 33.69 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3752, allocations: 100 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.3752, allocations: 15.88 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.3753, allocations: 13.72 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3754, allocations: 314.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.3755, allocations: 11.98 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.297e-05/0.3755, allocations: 17.72 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.3756, allocations: 33.66 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3756, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.911e-05/0.3756, allocations: 53.64 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3757, allocations: 8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3757, allocations: 7.875 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3757, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.3758, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3758, allocations: 8.062 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.3758, allocations: 3.953 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3758, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 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.0001232/0.3759, allocations: 109.8 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.376, allocations: 11.94 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.376, allocations: 15.81 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.376, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.376, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3761, allocations: 4 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.3764, allocations: 474.8 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3764, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.3765, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3765, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3765, allocations: 3.984 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3765, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3765, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.118e-05/0.3766, allocations: 81.89 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.3767, allocations: 93.05 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.3767, allocations: 7.938 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.03e-05/0.3767, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.3767, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-06/0.3767, allocations: 3.938 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.706e-05/0.3768, allocations: 125.3 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3768, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001988/0.377, allocations: 11.95 kB / 1.092 GB, free: 12.88 MB / 0.8575 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.0001209/0.3772, allocations: 103.7 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.986e-05/0.3773, allocations: 23.92 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3773, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.079e-05/0.3773, allocations: 4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.3775, allocations: 16.19 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.3778, allocations: 160.8 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.3781, allocations: 0.6924 MB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.644e-05/0.3781, allocations: 12.52 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.3782, allocations: 7.438 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.3782, allocations: 8 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of Templates: time 0.002683/0.3809, allocations: 458 kB / 1.094 GB, free: 11.35 MB / 0.8575 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