Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0009521/0.0009521, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.0009615/0.0009615, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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.031/1.031, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.94/1.94, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.207e-05, allocations: 6.422 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001406/0.001428, allocations: 0.8192 MB / 0.7608 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001229/0.001551, allocations: 49.72 kB / 0.7609 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.001595, allocations: 4.719 kB / 0.7609 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.001628, allocations: 7.875 kB / 0.7609 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.673e-05/0.001704, allocations: 15.34 kB / 0.7609 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.794e-05/0.001742, allocations: 15.98 kB / 0.7609 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.781e-05/0.00184, allocations: 61.75 kB / 0.761 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.001936, allocations: 31.95 kB / 0.761 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.214e-05/0.002029, allocations: 42.98 kB / 0.761 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.937e-05/0.002068, allocations: 17.45 kB / 0.7611 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.002085, allocations: 5.781 kB / 0.7611 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-06/0.002092, allocations: 4 kB / 0.7611 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.002111, allocations: 23.84 kB / 0.7611 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.002133, allocations: 15.94 kB / 0.7611 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.412e-05/0.002207, allocations: 41.05 kB / 0.7612 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.002208, allocations: 0 / 0.7612 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.12e-07/0.002209, allocations: 0 / 0.7612 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.002213, allocations: 4 kB / 0.7612 GB, free: 5.543 MB / 0.7136 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.0002674/0.002481, allocations: 286.3 kB / 0.7614 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.002511, allocations: 12.03 kB / 0.7614 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.002535, allocations: 8.938 kB / 0.7614 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.002649, allocations: 133.6 kB / 0.7616 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.002658, allocations: 5.125 kB / 0.7616 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.002671, allocations: 8.375 kB / 0.7616 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.67e-05/0.002757, allocations: 82.39 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.002766, allocations: 4.172 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.002773, allocations: 1.625 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.002779, allocations: 4.375 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.657e-05/0.002805, allocations: 23.86 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.003133, allocations: 0.4982 MB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.972e-05/0.003193, allocations: 173.1 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.003213, allocations: 84.95 kB / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.00323, allocations: 79.22 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.00326, allocations: 106.8 kB / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.003261, allocations: 0 / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.729e-05/0.003308, allocations: 34.22 kB / 0.7626 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.003352, allocations: 126.7 kB / 0.7628 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/0.003443, allocations: 149 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.00345, allocations: 26.86 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.0035, allocations: 123.8 kB / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.003502, allocations: 0 / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.003532, allocations: 33.64 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.003603, allocations: 320 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-06/0.00361, allocations: 4 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.951e-05/0.00364, allocations: 62.83 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.025e-05/0.00369, allocations: 73.47 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.003692, allocations: 2.406 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.106e-05/0.003773, allocations: 69.55 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.003785, allocations: 8.688 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.00379, allocations: 0 / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.003802, allocations: 4.969 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.281e-05/0.003845, allocations: 15.94 kB / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.003848, allocations: 0.5 kB / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.003869, allocations: 7.938 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.003873, allocations: 6.531 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 6.578e-05/0.003939, allocations: 201 kB / 0.7638 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.003972, allocations: 105 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.004003, allocations: 104.8 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.096e-05/0.004044, allocations: 192.2 kB / 0.7642 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-05/0.00408, allocations: 180.3 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.805e-05/0.004118, allocations: 182.6 kB / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.004242, allocations: 333.4 kB / 0.7649 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/0.004264, allocations: 101 kB / 0.765 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.004286, allocations: 104.9 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.22e-05/0.004328, allocations: 184.2 kB / 0.7652 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.004367, allocations: 180.2 kB / 0.7654 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000185/0.004552, allocations: 189.9 kB / 0.7656 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.585e-05/0.004588, allocations: 176.3 kB / 0.7658 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.309e-05/0.004681, allocations: 315.7 kB / 0.7661 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.004719, allocations: 112.9 kB / 0.7662 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.004771, allocations: 180.3 kB / 0.7663 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.355e-05/0.004815, allocations: 106.3 kB / 0.7664 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.004859, allocations: 188.2 kB / 0.7666 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.004882, allocations: 105 kB / 0.7667 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.325e-05/0.004905, allocations: 27.83 kB / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004905, allocations: 0 / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001275/0.005033, allocations: 14.8 kB / 0.7668 GB, free: 15.42 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 8.579e-05/0.005118, allocations: 151.7 kB / 0.7669 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.318e-05/0.005182, allocations: 36.72 kB / 0.7669 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.005185, allocations: 2.438 kB / 0.7669 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.005187, allocations: 4 kB / 0.767 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.005378, allocations: 463.6 kB / 0.7674 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.00559, allocations: 228 kB / 0.7676 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.8e-05/0.005618, allocations: 55.36 kB / 0.7677 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.32e-05/0.005651, allocations: 12.03 kB / 0.7677 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.005679, allocations: 51.38 kB / 0.7677 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/0.00568, allocations: 0 / 0.7677 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.001748/0.007428, allocations: 335.3 kB / 0.768 GB, free: 14.06 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.199208326172084]