Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_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.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.001102/0.001103, allocations: 180.9 kB / 321.3 MB, free: 14.63 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.441/1.441, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0007989/0.0007989, allocations: 86.47 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.762e-05, allocations: 4 kB / 0.7879 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.175, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6776/0.8526, allocations: 131.4 MB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.8529, allocations: 70.77 kB / 1.02 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002814/0.8558, allocations: 1.163 MB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8558, allocations: 0 / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.8558, allocations: 0 / 1.021 GB, free: 2.281 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.0002947/0.8561, allocations: 365.4 kB / 1.022 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.8562, allocations: 12.03 kB / 1.022 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.8562, allocations: 7.906 kB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.8564, allocations: 186.9 kB / 1.022 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.8564, allocations: 4 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.8564, allocations: 7.938 kB / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.8566, allocations: 97.89 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.8566, allocations: 3.938 kB / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.8566, allocations: 3.75 kB / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.8566, allocations: 4 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/0.8567, allocations: 37.06 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.8573, allocations: 460.3 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.042e-05/0.8574, allocations: 42.91 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.8574, allocations: 17.22 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.8574, allocations: 4 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.8575, allocations: 37.28 kB / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8575, allocations: 0 / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001715/0.8576, allocations: 49.48 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.8577, allocations: 81.11 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.8579, allocations: 157.5 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.8579, allocations: 29.7 kB / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.858, allocations: 110.6 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.858, allocations: 11.39 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.858, allocations: 0 / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.8581, allocations: 318.3 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.8582, allocations: 7.812 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.486e-05/0.8582, allocations: 21.2 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.574e-05/0.8582, allocations: 14.56 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.8582, allocations: 3.953 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.716e-05/0.8583, allocations: 64.16 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.8584, allocations: 5.406 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8584, allocations: 0 / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.8584, allocations: 4 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.8585, allocations: 4 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.8585, allocations: 4.859 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.607e-05/0.8585, allocations: 7.938 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.8585, allocations: 3.938 kB / 1.023 GB, free: 36 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.392e-05/0.8586, allocations: 107.9 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.8587, allocations: 19.77 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.8587, allocations: 16.41 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.8587, allocations: 4 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8587, allocations: 3.938 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.8588, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.8591, allocations: 485.3 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8592, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.376e-05/0.8592, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.8592, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.8592, allocations: 3.938 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.8592, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8592, allocations: 4 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.979e-05/0.8593, allocations: 98.38 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.8594, allocations: 88.89 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.8594, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.304e-05/0.8594, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.8595, allocations: 7.984 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.8595, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.193e-05/0.8596, allocations: 122 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8596, allocations: 4 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001634/0.8597, allocations: 12.03 kB / 1.024 GB, free: 15 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.0001127/0.8599, allocations: 102.5 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.554e-05/0.86, allocations: 19.75 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.86, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.86, allocations: 7.375 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.8601, allocations: 10.2 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.000267/0.8604, allocations: 114.7 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.8607, allocations: 0.6965 MB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.449e-05/0.8607, allocations: 12.5 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.8607, allocations: 15.38 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of SimCode: time 5.01e-07/0.8607, allocations: 0 / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of Templates: time 0.002225/0.863, allocations: 456.8 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches