Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 188.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008776/0.0008779, allocations: 86.48 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.035e-05/4.037e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.222, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7495/0.9716, allocations: 131.4 MB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.9719, allocations: 64.91 kB / 1.02 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002847/0.9747, allocations: 1.168 MB / 1.021 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9748, allocations: 0 / 1.021 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.9748, allocations: 7 kB / 1.021 GB, free: 2.285 MB / 0.6355 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.0003598/0.9752, allocations: 358.1 kB / 1.022 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.9752, allocations: 12.03 kB / 1.022 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.9753, allocations: 7.906 kB / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.9755, allocations: 183.5 kB / 1.022 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.9755, allocations: 6.375 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.9755, allocations: 15.8 kB / 1.022 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.9757, allocations: 90.66 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.9758, allocations: 3.984 kB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.9758, allocations: 3.438 kB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.9758, allocations: 0 / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.046e-05/0.9759, allocations: 37.56 kB / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.9765, allocations: 464.5 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.026e-05/0.9765, allocations: 50.84 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/0.9766, allocations: 12.84 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.9766, allocations: 4 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.9766, allocations: 33.3 kB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.9766, allocations: 0 / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001517/0.9768, allocations: 48.61 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.9768, allocations: 84.61 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.977, allocations: 156 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.977, allocations: 29.02 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.9771, allocations: 114.1 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.546e-06/0.9771, allocations: 7.844 kB / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.9771, allocations: 0 / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.9772, allocations: 325.8 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.9772, allocations: 4 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/0.9773, allocations: 23.53 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.659e-05/0.9773, allocations: 11.19 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.9773, allocations: 3.953 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.74e-05/0.9774, allocations: 64.91 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9774, allocations: 4 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.9774, allocations: 0 / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.9775, allocations: 0 / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.829e-05/0.9775, allocations: 8.062 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.9776, allocations: 4 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.9776, allocations: 7.938 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.9776, allocations: 0 / 1.023 GB, free: 52 kB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.959e-05/0.9777, allocations: 108.9 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.9778, allocations: 15.77 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.9778, allocations: 18.23 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.9778, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.9779, allocations: 7.938 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9779, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.9783, allocations: 484 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.9784, allocations: 0.875 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.552e-05/0.9784, allocations: 4 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.9784, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.9784, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9784, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.9784, allocations: 4 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.9786, allocations: 98.44 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.9787, allocations: 92.5 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.9787, allocations: 3.938 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.359e-05/0.9787, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.9787, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.9787, allocations: 8.031 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001174/0.9789, allocations: 124.7 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9789, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001944/0.9791, allocations: 8 kB / 1.024 GB, free: 15.03 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002034/0.9793, allocations: 103.2 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.9795, allocations: 18.81 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9795, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.84e-05/0.9795, allocations: 12.06 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.9797, allocations: 15.17 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.98, allocations: 107.1 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.9804, allocations: 0.7004 MB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.516e-05/0.9804, allocations: 8.562 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.9805, allocations: 15.38 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of SimCode: time 6.11e-07/0.9805, allocations: 0 / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of Templates: time 0.002546/0.983, allocations: 457.7 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches