Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001539/0.001539, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001845/0.001846, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 63.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8671/0.8686, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002003/0.8707, allocations: 0.827 MB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001142/0.8708, allocations: 39.78 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.8709, allocations: 0 / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.8709, allocations: 11.88 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.928e-05/0.871, allocations: 3.938 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.216e-05/0.8711, allocations: 19.98 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.8712, allocations: 67.77 kB / 1.209 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.8714, allocations: 51.91 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.8714, allocations: 23.86 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.8715, allocations: 23.86 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.8715, allocations: 8 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.8715, allocations: 4 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.8716, allocations: 19.92 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.8716, allocations: 35.81 kB / 1.21 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.8717, allocations: 75.62 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8717, allocations: 3.938 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8717, allocations: 0 / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.8717, allocations: 4 kB / 1.21 GB, free: 12.43 MB / 0.9356 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.000442/0.8722, allocations: 380.8 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.8722, allocations: 12.03 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.8723, allocations: 16.78 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.8725, allocations: 192.1 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.8725, allocations: 8.375 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.8725, allocations: 4.375 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.8727, allocations: 97.83 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.8727, allocations: 192 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.8727, allocations: 3.938 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.8727, allocations: 4 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.8728, allocations: 35.92 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.8734, allocations: 436.6 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.015e-05/0.8735, allocations: 53.17 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.8735, allocations: 17.84 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.8735, allocations: 4 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.8736, allocations: 30.56 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.8736, allocations: 4 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001812/0.8738, allocations: 61.47 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.8738, allocations: 77.11 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.874, allocations: 160.7 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.874, allocations: 25.7 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.8741, allocations: 99.98 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.8741, allocations: 7.891 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.8741, allocations: 17.97 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.8743, allocations: 326.8 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.8743, allocations: 7.938 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/0.8743, allocations: 17.72 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.8744, allocations: 21.72 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.8744, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.732e-05/0.8745, allocations: 69.53 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.8745, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.8745, allocations: 3.938 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.8745, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.8746, allocations: 8 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.8746, allocations: 3.938 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.8746, allocations: 3.906 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.8747, allocations: 4 kB / 1.212 GB, free: 9.996 MB / 0.9356 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.0001352/0.8748, allocations: 121.8 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.8748, allocations: 11.97 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.8749, allocations: 11.81 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.8749, allocations: 4 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.8749, allocations: 0 / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8749, allocations: 0 / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.8753, allocations: 466.8 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8753, allocations: 0 / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.8754, allocations: 15.98 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8754, allocations: 0 / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.8754, allocations: 4 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.8754, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8754, allocations: 8 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.8756, allocations: 73.84 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.8756, allocations: 92.94 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.8756, allocations: 4.031 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.199e-05/0.8757, allocations: 4 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.8757, allocations: 0 / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.8757, allocations: 4 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001389/0.8758, allocations: 121.1 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.754e-06/0.8758, allocations: 0 / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001872/0.876, allocations: 11.84 kB / 1.213 GB, free: 8.945 MB / 0.9356 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.0001156/0.8761, allocations: 107.2 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.767e-05/0.8762, allocations: 12 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.8763, allocations: 0 / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.456e-05/0.8763, allocations: 11.94 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.8764, allocations: 7.938 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.8768, allocations: 188.5 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.8771, allocations: 0.6965 MB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.8771, allocations: 11.44 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.8771, allocations: 0 / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.002238/0.8793, allocations: 0.8591 MB / 1.214 GB, free: 6.984 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches