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.00963/0.00963, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001848/0.001848, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.685/2.685, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 71.89 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.036, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.00215/1.038, allocations: 0.8413 MB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001216/1.039, allocations: 39.84 kB / 1.167 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/1.039, allocations: 7.938 kB / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/1.039, allocations: 3.938 kB / 1.167 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.578e-05/1.039, allocations: 7.875 kB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.335e-05/1.039, allocations: 27.97 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/1.039, allocations: 55.84 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/1.039, allocations: 43.92 kB / 1.168 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.606e-05/1.039, allocations: 23.91 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/1.039, allocations: 35.8 kB / 1.168 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/1.039, allocations: 4 kB / 1.168 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/1.039, allocations: 8 kB / 1.168 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/1.039, allocations: 15.92 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/1.039, allocations: 31.81 kB / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/1.04, allocations: 76.12 kB / 1.168 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.04, allocations: 0 / 1.168 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.054e-06/1.04, allocations: 4 kB / 1.168 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.751e-06/1.04, allocations: 0 / 1.168 GB, free: 2.594 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.0004651/1.04, allocations: 379.1 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/1.04, allocations: 12.92 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/1.04, allocations: 12.84 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/1.04, allocations: 200.2 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/1.04, allocations: 384 / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/1.04, allocations: 16.31 kB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/1.041, allocations: 86.39 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/1.041, allocations: 192 / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/1.041, allocations: 11.94 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.041, allocations: 4 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/1.041, allocations: 47.84 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/1.041, allocations: 432.7 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.521e-05/1.041, allocations: 41.25 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/1.041, allocations: 21.78 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/1.041, allocations: 0 / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/1.041, allocations: 34.56 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/1.041, allocations: 0 / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001783/1.042, allocations: 61.52 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/1.042, allocations: 81.36 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/1.042, allocations: 155.1 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/1.042, allocations: 25.7 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/1.042, allocations: 112 kB / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/1.042, allocations: 7.953 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/1.042, allocations: 17.72 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.042, allocations: 318.8 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/1.042, allocations: 4 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/1.042, allocations: 25.66 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/1.042, allocations: 21.72 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.042, allocations: 0 / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.153e-05/1.042, allocations: 69.53 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1.042, allocations: 4 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.042, allocations: 3.938 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.042, allocations: 8.062 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/1.042, allocations: 4 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.042, allocations: 0 / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.74e-05/1.042, allocations: 11.88 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/1.042, allocations: 0 / 1.17 GB, free: 152 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 8.134e-05/1.043, allocations: 117.8 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/1.043, allocations: 7.953 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/1.043, allocations: 19.89 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.043, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.043, allocations: 4 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.043, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/1.043, allocations: 470.7 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.043, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/1.043, allocations: 7.984 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.043, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/1.043, allocations: 4 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.043, allocations: 8 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.043, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.81e-05/1.043, allocations: 81.83 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/1.043, allocations: 89.05 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/1.043, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/1.043, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/1.043, allocations: 8.031 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/1.043, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001468/1.044, allocations: 125.7 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.044, allocations: 0 / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000182/1.044, allocations: 8 kB / 1.171 GB, free: 15.09 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.000114/1.044, allocations: 99.23 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.976e-05/1.044, allocations: 19.94 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.044, allocations: 128 / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/1.044, allocations: 8 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/1.044, allocations: 15.88 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/1.044, allocations: 166.5 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/1.045, allocations: 0.6885 MB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.492e-05/1.045, allocations: 12.55 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/1.045, allocations: 11.44 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/1.045, allocations: 0 / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of Templates: time 0.002454/1.047, allocations: 456.5 kB / 1.172 GB, free: 13.57 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 -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