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.001905/0.001905, allocations: 110.6 kB / 16.41 MB, free: 6.457 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.002399/0.002399, allocations: 185.2 kB / 17.34 MB, free: 5.719 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.557/1.557, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.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.739/2.739, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 59.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002195/1.047, allocations: 0.8254 MB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001193/1.047, allocations: 43.78 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/1.047, allocations: 0 / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.705e-05/1.047, allocations: 15.86 kB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.018e-05/1.047, allocations: 3.938 kB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.477e-05/1.047, allocations: 19.98 kB / 1.168 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/1.047, allocations: 63.78 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/1.048, allocations: 47.95 kB / 1.168 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/1.048, allocations: 19.94 kB / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/1.048, allocations: 31.78 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/1.048, allocations: 8 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/1.048, allocations: 4 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/1.048, allocations: 15.94 kB / 1.168 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/1.048, allocations: 35.73 kB / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/1.048, allocations: 72.2 kB / 1.168 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.799e-06/1.048, allocations: 4 kB / 1.169 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.663e-06/1.048, allocations: 0 / 1.169 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.396e-06/1.048, allocations: 0 / 1.169 GB, free: 2.641 MB / 0.8887 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.0006633/1.049, allocations: 387.1 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/1.049, allocations: 8.922 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/1.049, allocations: 20.78 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/1.049, allocations: 192.1 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/1.049, allocations: 4.375 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/1.049, allocations: 8.375 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/1.05, allocations: 98.38 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/1.05, allocations: 4.188 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/1.05, allocations: 3.938 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.05, allocations: 0 / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.301e-05/1.05, allocations: 39.92 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/1.05, allocations: 432.6 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.319e-05/1.051, allocations: 49.28 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/1.051, allocations: 21.83 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/1.051, allocations: 0 / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/1.051, allocations: 34.56 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.051, allocations: 0 / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000217/1.051, allocations: 61.53 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/1.051, allocations: 77.11 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/1.051, allocations: 160.9 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/1.051, allocations: 29.64 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/1.051, allocations: 104 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/1.051, allocations: 3.953 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/1.051, allocations: 21.7 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.052, allocations: 323.1 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/1.052, allocations: 4 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.932e-05/1.052, allocations: 21.7 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.889e-05/1.052, allocations: 21.72 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.052, allocations: 0 / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001002/1.052, allocations: 65.53 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.052, allocations: 12.06 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.052, allocations: 3.938 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.052, allocations: 0 / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/1.052, allocations: 4 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.052, allocations: 4 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/1.052, allocations: 11.88 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/1.052, allocations: 4 kB / 1.171 GB, free: 196 kB / 0.8887 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.0001174/1.052, allocations: 117.8 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/1.052, allocations: 8.047 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/1.052, allocations: 23.78 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.052, allocations: 0 / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.052, allocations: 4 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.052, allocations: 3.938 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/1.053, allocations: 474.7 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.053, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/1.053, allocations: 4 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.053, allocations: 4.062 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/1.053, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.053, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.053, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/1.053, allocations: 81.88 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-05/1.053, allocations: 85.05 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/1.053, allocations: 8 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.933e-05/1.053, allocations: 4.031 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/1.053, allocations: 3.938 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/1.053, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001205/1.053, allocations: 121.9 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/1.053, allocations: 0 / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001937/1.054, allocations: 8 kB / 1.172 GB, free: 15.14 MB / 0.9044 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.000152/1.054, allocations: 99.25 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.837e-05/1.054, allocations: 19.98 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.054, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/1.054, allocations: 11.94 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/1.054, allocations: 10.44 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/1.054, allocations: 166.5 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/1.055, allocations: 0.697 MB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.42e-05/1.055, allocations: 8.438 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/1.055, allocations: 7.438 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of SimCode: time 4.5e-07/1.055, allocations: 4 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of Templates: time 0.002958/1.058, allocations: 464.5 kB / 1.173 GB, free: 13.6 MB / 0.9044 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 -s cvode -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/jenkins1/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