Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.0008581/0.0008581, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001049/0.001049, allocations: 161 kB / 24.17 MB, free: 328 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 0.9352/0.9352, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.855/1.855, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.857e-06/9.99e-06, allocations: 3.344 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001386/0.001396, allocations: 1.34 MB / 0.7613 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000825/0.002221, allocations: 0.837 MB / 0.7621 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.5e-05/0.002236, allocations: 0 / 0.7621 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.00225, allocations: 3.938 kB / 0.7621 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.624e-05/0.002286, allocations: 5.75 kB / 0.7621 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.002615, allocations: 132.9 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.002668, allocations: 27.86 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.589e-05/0.002694, allocations: 9.234 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.225e-05/0.002736, allocations: 15.98 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.002778, allocations: 7.984 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.002787, allocations: 1.25 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.003166, allocations: 163.6 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.00318, allocations: 0 / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.003196, allocations: 11.94 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.003361, allocations: 140.2 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003363, allocations: 0.5312 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003363, allocations: 0 / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.655e-06/0.003366, allocations: 0.5312 kB / 0.7626 GB, free: 3.957 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002462/0.003612, allocations: 270 kB / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.549e-05/0.003638, allocations: 12.02 kB / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.00366, allocations: 8.938 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.999e-05/0.00372, allocations: 107 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.003765, allocations: 51.97 kB / 0.7631 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.003773, allocations: 4.375 kB / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.19e-05/0.003855, allocations: 81.39 kB / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-06/0.00386, allocations: 192 / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.003867, allocations: 5.125 kB / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.003871, allocations: 4.125 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.003891, allocations: 8.688 kB / 0.7632 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.78e-05/0.003959, allocations: 57.05 kB / 0.7632 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.00406, allocations: 44.78 kB / 0.7633 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.185e-05/0.004072, allocations: 8.859 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.00418, allocations: 25.88 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.004198, allocations: 30.56 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.004199, allocations: 0 / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 7.845e-05/0.004277, allocations: 49.62 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.004299, allocations: 54.66 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.188e-05/0.004341, allocations: 110.9 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.00435, allocations: 25.7 kB / 0.7635 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.834e-05/0.004368, allocations: 80.14 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.004388, allocations: 11.91 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.004409, allocations: 17.7 kB / 0.7636 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.004477, allocations: 326.8 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.004486, allocations: 4 kB / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-06/0.004494, allocations: 4 kB / 0.764 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.004516, allocations: 23.59 kB / 0.764 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004518, allocations: 0 / 0.764 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 3.974e-05/0.004558, allocations: 41.69 kB / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.004567, allocations: 4 kB / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.00457, allocations: 0 / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.004578, allocations: 0 / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.524e-05/0.004603, allocations: 8 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.004605, allocations: 1.438 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.004617, allocations: 7.875 kB / 0.764 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.004621, allocations: 3.938 kB / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 4.566e-05/0.004667, allocations: 115.4 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-06/0.004672, allocations: 4 kB / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.313e-05/0.004735, allocations: 49.31 kB / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.004737, allocations: 0 / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.00474, allocations: 5.266 kB / 0.7642 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.004743, allocations: 4 kB / 0.7642 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.739e-05/0.00479, allocations: 77.83 kB / 0.7643 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.004791, allocations: 0.5938 kB / 0.7643 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/0.004807, allocations: 4 kB / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.004808, allocations: 0.6875 kB / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-06/0.004812, allocations: 4.656 kB / 0.7643 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.004813, allocations: 0 / 0.7643 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.004815, allocations: 4.703 kB / 0.7643 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.516e-05/0.00486, allocations: 69 kB / 0.7644 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.00488, allocations: 10.8 kB / 0.7644 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-06/0.004887, allocations: 4 kB / 0.7644 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.532e-05/0.004902, allocations: 0 / 0.7644 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.004923, allocations: 7.984 kB / 0.7644 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.004926, allocations: 0 / 0.7644 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.604e-06/0.004933, allocations: 9.281 kB / 0.7644 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004933, allocations: 0 / 0.7644 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000119/0.005052, allocations: 39.86 kB / 0.7644 GB, free: 1.883 MB / 0.7136 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 (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 Backend phase and start with SimCode phase: time 0.0001231/0.005175, allocations: 127.3 kB / 0.7646 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.373e-05/0.005219, allocations: 17 kB / 0.7646 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.005222, allocations: 4 kB / 0.7646 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.46e-05/0.005236, allocations: 20.86 kB / 0.7646 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.153e-05/0.005308, allocations: 17.45 kB / 0.7646 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.005644, allocations: 143.8 kB / 0.7648 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.673e-05/0.00567, allocations: 55.36 kB / 0.7648 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.005696, allocations: 10.84 kB / 0.7648 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.005738, allocations: 55.38 kB / 0.7649 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of SimCode: time 4.11e-07/0.005738, allocations: 6.375 kB / 0.7649 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of Templates: time 0.002288/0.008026, allocations: 1.269 MB / 0.7661 GB, free: 200 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.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.726524190977216]