Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.92/2.92, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.32e-05/4.569e-05, allocations: 5.938 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002743/0.002789, allocations: 0.7888 MB / 1.001 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001824/0.002972, allocations: 47.78 kB / 1.001 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.54e-05/0.003047, allocations: 0 / 1.001 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.857e-05/0.003096, allocations: 11.86 kB / 1.001 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.003206, allocations: 7.938 kB / 1.001 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 6.308e-05/0.003269, allocations: 15.98 kB / 1.001 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.00344, allocations: 63.78 kB / 1.001 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.003635, allocations: 35.89 kB / 1.001 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.003774, allocations: 39.84 kB / 1.001 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.608e-05/0.00384, allocations: 19.91 kB / 1.001 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.003872, allocations: 8 kB / 1.001 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.003886, allocations: 8 kB / 1.001 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.003919, allocations: 19.92 kB / 1.001 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.003957, allocations: 11.94 kB / 1.001 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.004114, allocations: 71.75 kB / 1.001 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.004117, allocations: 0 / 1.001 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004118, allocations: 3.938 kB / 1.001 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.004123, allocations: 0 / 1.001 GB, free: 6.109 MB / 0.9512 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.0005684/0.004691, allocations: 302 kB / 1.002 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.004744, allocations: 12.03 kB / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.004792, allocations: 12.88 kB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.005056, allocations: 141.6 kB / 1.002 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.005074, allocations: 4.375 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.0051, allocations: 8.375 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.005322, allocations: 91.86 kB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.005334, allocations: 192 / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.005349, allocations: 4.375 kB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.005358, allocations: 4.375 kB / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.005468, allocations: 51.8 kB / 1.002 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.006119, allocations: 348.4 kB / 1.002 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.925e-05/0.006218, allocations: 45.34 kB / 1.002 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.006264, allocations: 13.78 kB / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.006285, allocations: 7.984 kB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.006318, allocations: 34.56 kB / 1.002 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.00632, allocations: 0 / 1.002 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002375/0.006557, allocations: 49.59 kB / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.006633, allocations: 81.05 kB / 1.002 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.006827, allocations: 133.8 kB / 1.003 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.006848, allocations: 25.95 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.798e-05/0.006946, allocations: 119.9 kB / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.00696, allocations: 7.938 kB / 1.003 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.007009, allocations: 17.72 kB / 1.003 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.00719, allocations: 314.8 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.581e-05/0.007216, allocations: 8 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.00725, allocations: 17.72 kB / 1.003 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.258e-05/0.007313, allocations: 29.7 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.007314, allocations: 0 / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001214/0.007436, allocations: 57.59 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.007457, allocations: 6.188 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.007463, allocations: 3.938 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.007485, allocations: 4 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.007571, allocations: 7.984 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.00758, allocations: 3.938 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.007624, allocations: 11.94 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.007629, allocations: 0 / 1.003 GB, free: 3.957 MB / 0.9512 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.0001274/0.007757, allocations: 117.8 kB / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.007815, allocations: 7.953 kB / 1.003 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.007845, allocations: 7.531 kB / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007847, allocations: 0 / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.007855, allocations: 4 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.007862, allocations: 3.938 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.00838, allocations: 410.5 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.008381, allocations: 0 / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.78e-05/0.008409, allocations: 4 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008411, allocations: 0 / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.008424, allocations: 7.922 kB / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.008426, allocations: 0 / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008427, allocations: 4.062 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.008549, allocations: 69.95 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.008579, allocations: 20 kB / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.008598, allocations: 3.938 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.278e-05/0.00862, allocations: 7.938 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.008641, allocations: 0 / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.008648, allocations: 4 kB / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.247e-05/0.00874, allocations: 100.5 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.00874, allocations: 4 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002844/0.009025, allocations: 7.953 kB / 1.004 GB, free: 3.113 MB / 0.9512 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.0001391/0.009164, allocations: 103.3 kB / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.009264, allocations: 15.98 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.009272, allocations: 0 / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.009284, allocations: 7.938 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.009497, allocations: 8 kB / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.00995, allocations: 158.6 kB / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.01005, allocations: 83.56 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.786e-05/0.01009, allocations: 4 kB / 1.004 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.01012, allocations: 12.44 kB / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of SimCode: time 4.9e-07/0.01012, allocations: 0 / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of Templates: time 0.004038/0.01416, allocations: 343.3 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.527910519391298]