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.001216/0.001216, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01141/0.01141, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.606/1.606, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.817/2.817, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004068, allocations: 10.88 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3967, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001119/0.3979, allocations: 0.5531 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001039/0.398, allocations: 39.78 kB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.3981, allocations: 0 / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.3981, allocations: 7.938 kB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.994e-05/0.3982, allocations: 3.938 kB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.672e-05/0.3983, allocations: 19.98 kB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.932e-05/0.3984, allocations: 55.75 kB / 1.059 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3985, allocations: 43.97 kB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.3986, allocations: 19.86 kB / 1.059 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.3987, allocations: 19.86 kB / 1.059 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.3987, allocations: 4 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-06/0.3987, allocations: 4 kB / 1.059 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.3987, allocations: 11.88 kB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.3988, allocations: 57.44 kB / 1.059 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.3989, allocations: 60.03 kB / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3989, allocations: 0 / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3989, allocations: 4 kB / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3989, allocations: 0 / 1.06 GB, free: 4.562 MB / 0.8106 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.0004069/0.3993, allocations: 363.3 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3994, allocations: 12.02 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.3994, allocations: 16.84 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.3996, allocations: 184.2 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.3997, allocations: 8.375 kB / 1.06 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3997, allocations: 8.312 kB / 1.06 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3999, allocations: 91.95 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3999, allocations: 4.172 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3999, allocations: 11.86 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3999, allocations: 0 / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.927e-05/0.4, allocations: 47.86 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.4006, allocations: 432.6 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.991e-05/0.4007, allocations: 45.25 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.4007, allocations: 21.78 kB / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-06/0.4007, allocations: 0 / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.4008, allocations: 38.55 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.4008, allocations: 0 / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001892/0.401, allocations: 53.48 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.401, allocations: 81.36 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.4012, allocations: 158.2 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4012, allocations: 25.7 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.4013, allocations: 107.9 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/0.4013, allocations: 7.984 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.4013, allocations: 13.72 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4015, allocations: 322.8 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.4015, allocations: 0 / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.4015, allocations: 29.66 kB / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.4016, allocations: 25.7 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4016, allocations: 0 / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.304e-05/0.4017, allocations: 57.55 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4017, allocations: 10.03 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4017, allocations: 3.938 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4017, allocations: 64 / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/0.4018, allocations: 11.98 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.4018, allocations: 4 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.4018, allocations: 7.844 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.4019, allocations: 0 / 1.062 GB, free: 2.141 MB / 0.8106 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.541e-05/0.4019, allocations: 113.8 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.402, allocations: 7.906 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.402, allocations: 15.81 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.402, allocations: 0 / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.402, allocations: 3.984 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.402, allocations: 8 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.4025, allocations: 470.7 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4025, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.4025, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4025, allocations: 4 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.4025, allocations: 0 / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4025, allocations: 3.938 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4025, allocations: 4.062 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.184e-05/0.4026, allocations: 81.83 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.4027, allocations: 88.95 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.4027, allocations: 4 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.4027, allocations: 4 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.4027, allocations: 3.984 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.4027, allocations: 4.031 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.587e-05/0.4028, allocations: 126.5 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4028, allocations: 0 / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001848/0.403, allocations: 11.91 kB / 1.063 GB, free: 1.094 MB / 0.8106 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.0001324/0.4032, allocations: 95.25 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.3e-05/0.4033, allocations: 19.94 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4033, allocations: 0 / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.057e-05/0.4033, allocations: 8.125 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.4035, allocations: 11.94 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.4038, allocations: 183.5 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.4041, allocations: 0.6926 MB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.4041, allocations: 8.516 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.4042, allocations: 11.44 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of SimCode: time 1.693e-05/0.4042, allocations: 0 / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of Templates: time 0.002706/0.4069, allocations: 428.7 kB / 1.064 GB, free: 15.58 MB / 0.8262 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/jenkins/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