Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006499/0.006499, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001779/0.001779, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.696/2.696, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 55.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4661, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002182/0.4683, allocations: 0.8295 MB / 1.167 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001273/0.4685, allocations: 43.78 kB / 1.167 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.4685, allocations: 4 kB / 1.167 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.276e-05/0.4686, allocations: 7.875 kB / 1.167 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.4687, allocations: 3.938 kB / 1.167 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.349e-05/0.4687, allocations: 23.98 kB / 1.168 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.4689, allocations: 63.77 kB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.469, allocations: 43.97 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/0.4691, allocations: 27.86 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.4692, allocations: 35.8 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.4692, allocations: 4 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.4692, allocations: 8 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.4693, allocations: 11.92 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.4693, allocations: 31.81 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.4695, allocations: 79.52 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4695, allocations: 0 / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.908e-06/0.4695, allocations: 4 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.4695, allocations: 3.984 kB / 1.168 GB, free: 5.566 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.0005689/0.4701, allocations: 379.1 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.017e-05/0.4701, allocations: 12.03 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.4702, allocations: 12.84 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.4705, allocations: 196.1 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.4705, allocations: 8.375 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.4706, allocations: 4.375 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.4708, allocations: 93.83 kB / 1.168 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4708, allocations: 192 / 1.168 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.4708, allocations: 11.94 kB / 1.168 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.4708, allocations: 4 kB / 1.168 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.515e-05/0.4709, allocations: 43.86 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007692/0.4717, allocations: 432.7 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.409e-05/0.4718, allocations: 53.17 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.4719, allocations: 17.78 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.4719, allocations: 0 / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.4719, allocations: 34.56 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4719, allocations: 0 / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002336/0.4722, allocations: 57.77 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.4723, allocations: 81.11 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.4725, allocations: 159.9 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.4725, allocations: 25.7 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/0.4726, allocations: 96.09 kB / 1.169 GB, free: 3.652 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.4726, allocations: 19.88 kB / 1.169 GB, free: 3.633 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.4727, allocations: 13.72 kB / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4728, allocations: 314.8 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.4729, allocations: 11.98 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.4729, allocations: 25.64 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/0.473, allocations: 25.72 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.473, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.607e-05/0.473, allocations: 65.53 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4731, allocations: 4 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4731, allocations: 4 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.4731, allocations: 8 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.4732, allocations: 4 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.4732, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.4732, allocations: 4 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.4733, allocations: 0 / 1.17 GB, free: 3.129 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 0.0001096/0.4734, allocations: 117.8 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.4734, allocations: 7.953 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.4734, allocations: 15.81 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4735, allocations: 4 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4735, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4735, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.4741, allocations: 474.7 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4741, allocations: 0 / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/0.4741, allocations: 7.938 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.4741, allocations: 7.922 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4741, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.4741, allocations: 8.062 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4741, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.047e-05/0.4742, allocations: 73.89 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.4744, allocations: 93.05 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.4744, allocations: 0 / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.4745, allocations: 4 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.4745, allocations: 11.97 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.4745, allocations: 0 / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.399e-05/0.4746, allocations: 119.9 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.4746, allocations: 0 / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001864/0.4748, allocations: 11.94 kB / 1.171 GB, free: 2.074 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.0001573/0.4749, allocations: 99.19 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.4751, allocations: 23.98 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4751, allocations: 4.125 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/0.4751, allocations: 11.94 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.4753, allocations: 11.94 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.4756, allocations: 158.5 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.4759, allocations: 0.6889 MB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.4759, allocations: 12.55 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.476, allocations: 11.44 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of SimCode: time 2.1e-07/0.476, allocations: 0 / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of Templates: time 0.002682/0.4787, allocations: 460.5 kB / 1.172 GB, free: 0.5391 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches