Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001087/0.001087, allocations: 80.8 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.001385/0.001385, allocations: 161.4 kB / 24.16 MB, free: 336 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.018/1.018, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.942/1.942, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.709e-05, allocations: 5.688 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001345/0.001362, allocations: 0.8168 MB / 0.7608 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001134/0.001475, allocations: 44.5 kB / 0.7609 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.001519, allocations: 5.094 kB / 0.7609 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.456e-05/0.001554, allocations: 7.875 kB / 0.7609 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.785e-05/0.001632, allocations: 17.72 kB / 0.7609 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.089e-05/0.001673, allocations: 21.44 kB / 0.7609 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.588e-05/0.001768, allocations: 61.7 kB / 0.761 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.549e-05/0.001864, allocations: 35.89 kB / 0.761 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.001966, allocations: 46.28 kB / 0.7611 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.379e-05/0.002, allocations: 11.92 kB / 0.7611 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.002018, allocations: 8.969 kB / 0.7611 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-06/0.002026, allocations: 4 kB / 0.7611 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.002044, allocations: 15.97 kB / 0.7611 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.002064, allocations: 16.66 kB / 0.7611 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.69e-05/0.002141, allocations: 47.7 kB / 0.7612 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002143, allocations: 1.156 kB / 0.7612 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002144, allocations: 0 / 0.7612 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.002147, allocations: 0 / 0.7612 GB, free: 5.535 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.000281/0.002428, allocations: 282.7 kB / 0.7614 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.002458, allocations: 8.031 kB / 0.7614 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.002485, allocations: 12.94 kB / 0.7614 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.002597, allocations: 133.6 kB / 0.7616 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.002609, allocations: 12.31 kB / 0.7616 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.002619, allocations: 5.969 kB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.464e-05/0.002704, allocations: 79.92 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.002712, allocations: 4.172 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.002722, allocations: 8.375 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.002727, allocations: 1.625 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.746e-05/0.002754, allocations: 23.86 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.00315, allocations: 0.4934 MB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.907e-05/0.003209, allocations: 170.2 kB / 0.7623 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.003235, allocations: 80.14 kB / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.003251, allocations: 76.28 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.003285, allocations: 117.9 kB / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.003286, allocations: 0 / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.339e-05/0.003329, allocations: 30.39 kB / 0.7626 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.003373, allocations: 130.7 kB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.003452, allocations: 149.9 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.00346, allocations: 25.7 kB / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.003509, allocations: 123.8 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.003511, allocations: 7.938 kB / 0.7631 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.003538, allocations: 30.45 kB / 0.7631 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.003605, allocations: 318.8 kB / 0.7634 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-06/0.00361, allocations: 4 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.003641, allocations: 63.75 kB / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.003691, allocations: 69.22 kB / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.003693, allocations: 0.625 kB / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.907e-05/0.003772, allocations: 75.69 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.003782, allocations: 7.984 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.003788, allocations: 4.5 kB / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.003803, allocations: 0 / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-05/0.003845, allocations: 19.38 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.003849, allocations: 4 kB / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.00387, allocations: 7.938 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.003873, allocations: 0 / 0.7636 GB, free: 2.785 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 5.981e-05/0.003933, allocations: 189.1 kB / 0.7638 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.003967, allocations: 112.9 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.004, allocations: 108.8 kB / 0.764 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/0.004037, allocations: 184.2 kB / 0.7642 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-05/0.004072, allocations: 183 kB / 0.7644 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/0.004108, allocations: 176.3 kB / 0.7645 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.004242, allocations: 337.3 kB / 0.7649 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.801e-05/0.00427, allocations: 105 kB / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.004298, allocations: 108.9 kB / 0.7651 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.317e-05/0.004341, allocations: 176.3 kB / 0.7652 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/0.004391, allocations: 184.2 kB / 0.7654 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002267/0.004618, allocations: 180.2 kB / 0.7656 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.712e-05/0.004655, allocations: 176.8 kB / 0.7658 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.055e-05/0.004746, allocations: 321.2 kB / 0.7661 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.004784, allocations: 112.9 kB / 0.7662 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.004839, allocations: 180.2 kB / 0.7663 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.372e-05/0.004883, allocations: 105.3 kB / 0.7664 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.004927, allocations: 184.7 kB / 0.7666 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.004953, allocations: 107.6 kB / 0.7667 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.424e-05/0.004978, allocations: 35.06 kB / 0.7667 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.004978, allocations: 0 / 0.7667 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001906/0.005168, allocations: 19.83 kB / 0.7668 GB, free: 15.4 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 0.0001032/0.005272, allocations: 147.7 kB / 0.7669 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.592e-05/0.005357, allocations: 35.47 kB / 0.7669 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.005362, allocations: 4 kB / 0.7669 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.005363, allocations: 4 kB / 0.767 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.005575, allocations: 459.6 kB / 0.7674 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.005815, allocations: 224 kB / 0.7676 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.266e-05/0.005847, allocations: 60.38 kB / 0.7677 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.005889, allocations: 14.14 kB / 0.7677 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.005921, allocations: 55.38 kB / 0.7677 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.005921, allocations: 1.406 kB / 0.7677 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.00206/0.007981, allocations: 338.2 kB / 0.7681 GB, free: 14.04 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_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: 4.972638312727213]