Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00671/0.006709, allocations: 99.91 kB / 15.73 MB, free: 6.492 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.001537/0.001537, allocations: 203.9 kB / 16.68 MB, free: 6.375 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.823/2.823, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 1.019 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3631, allocations: 151.6 MB / 1.167 GB, free: 6.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002255/0.3654, allocations: 0.8178 MB / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001199/0.3656, allocations: 47.78 kB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.3656, allocations: 0 / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.611e-05/0.3657, allocations: 11.86 kB / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/0.3658, allocations: 11.88 kB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.174e-05/0.3658, allocations: 15.98 kB / 1.168 GB, free: 6.008 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.366, allocations: 63.84 kB / 1.168 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.3661, allocations: 47.95 kB / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.561e-05/0.3662, allocations: 27.86 kB / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.3663, allocations: 35.72 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.3663, allocations: 4 kB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.587e-05/0.3663, allocations: 8 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.3664, allocations: 15.94 kB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.3664, allocations: 27.8 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.3666, allocations: 83.58 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3666, allocations: 0 / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3666, allocations: 0 / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3666, allocations: 0 / 1.168 GB, free: 5.699 MB / 0.92 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.0004845/0.3671, allocations: 383.1 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.3671, allocations: 8.031 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.3672, allocations: 12.84 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.3674, allocations: 192.2 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3674, allocations: 8.375 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.3675, allocations: 12.36 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3676, allocations: 95.89 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3676, allocations: 192 / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3677, allocations: 11.94 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3677, allocations: 0 / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.537e-05/0.3678, allocations: 35.92 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.3684, allocations: 440.7 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.603e-05/0.3684, allocations: 33.16 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.3685, allocations: 21.83 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-06/0.3685, allocations: 4 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3685, allocations: 38.59 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.3685, allocations: 0 / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001653/0.3687, allocations: 57.47 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.3688, allocations: 81.11 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3689, allocations: 156.1 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.3689, allocations: 29.7 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.369, allocations: 104.3 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.369, allocations: 15.88 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.369, allocations: 17.7 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3692, allocations: 314.8 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.3692, allocations: 8 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.3692, allocations: 17.7 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.799e-05/0.3693, allocations: 33.66 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3693, allocations: 4 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.077e-05/0.3693, allocations: 57.59 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.3694, allocations: 4 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3694, allocations: 7.938 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.3694, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.3695, allocations: 7.938 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3695, allocations: 0 / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.3695, allocations: 8 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.3695, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 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.707e-05/0.3696, allocations: 117.9 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.3696, allocations: 7.953 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.3697, allocations: 15.8 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3697, allocations: 0 / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3697, allocations: 0 / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3697, allocations: 4 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.3701, allocations: 474.7 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3701, allocations: 4 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.3701, allocations: 3.938 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3701, allocations: 4 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3701, allocations: 0 / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3701, allocations: 0 / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3701, allocations: 3.984 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.212e-05/0.3702, allocations: 81.89 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.3703, allocations: 93.05 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.3703, allocations: 0 / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.3703, allocations: 8.094 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.3704, allocations: 3.984 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3704, allocations: 0 / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.807e-05/0.3704, allocations: 121.5 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3705, allocations: 0 / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001869/0.3706, allocations: 15.94 kB / 1.171 GB, free: 2.207 MB / 0.92 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.0001592/0.3708, allocations: 103.2 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.528e-05/0.3709, allocations: 27.92 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3709, allocations: 0 / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-05/0.3709, allocations: 4 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.3711, allocations: 13.5 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.3714, allocations: 164.6 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.3716, allocations: 0.6967 MB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.961e-05/0.3717, allocations: 4.438 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.3717, allocations: 15.38 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.3717, allocations: 0 / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of Templates: time 0.002651/0.3744, allocations: 460.4 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches