Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000984/0.000984, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009605/0.0009605, allocations: 169 kB / 24.28 MB, free: 280 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.9904/0.9904, allocations: 177.1 MB / 204.6 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.877/1.877, allocations: 359 MB / 0.6055 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.97e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001554/0.001574, allocations: 1.326 MB / 0.7884 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009621/0.002536, allocations: 0.8348 MB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.00256, allocations: 0 / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.002578, allocations: 3.938 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.603e-05/0.002614, allocations: 8.734 kB / 0.7892 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.00301, allocations: 133.7 kB / 0.7893 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.932e-05/0.00308, allocations: 23.86 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.003115, allocations: 0 / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.003168, allocations: 15.98 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.00322, allocations: 7.984 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.003235, allocations: 5.75 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.003443, allocations: 163.6 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.00346, allocations: 4 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.00348, allocations: 7.984 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.003671, allocations: 136.2 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003673, allocations: 3.938 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003674, allocations: 1.219 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003678, allocations: 0 / 0.7897 GB, free: 10.11 MB / 0.7448 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.0004595/0.004137, allocations: 394 kB / 0.7901 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.004172, allocations: 12.03 kB / 0.7901 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.004215, allocations: 8.938 kB / 0.7901 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.987e-05/0.004294, allocations: 104.6 kB / 0.7902 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/0.004361, allocations: 63.89 kB / 0.7903 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.00437, allocations: 1.688 kB / 0.7903 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.004481, allocations: 80.66 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.004489, allocations: 4.172 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.004498, allocations: 2.312 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.004507, allocations: 8.125 kB / 0.7903 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.004536, allocations: 7.938 kB / 0.7904 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.004647, allocations: 116.6 kB / 0.7905 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.004797, allocations: 47.09 kB / 0.7905 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.004818, allocations: 18.28 kB / 0.7905 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.004959, allocations: 28.06 kB / 0.7906 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.00498, allocations: 33.39 kB / 0.7906 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.004981, allocations: 0.5312 kB / 0.7906 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001352/0.005117, allocations: 62.3 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.005142, allocations: 51.41 kB / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.389e-05/0.005206, allocations: 166.4 kB / 0.7909 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.005216, allocations: 25.7 kB / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.005244, allocations: 128.5 kB / 0.791 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.005265, allocations: 7.906 kB / 0.791 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.005291, allocations: 23.38 kB / 0.791 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.005389, allocations: 496.1 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.005406, allocations: 8.484 kB / 0.7915 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.005418, allocations: 8.594 kB / 0.7915 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.258e-05/0.005451, allocations: 20.47 kB / 0.7915 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005452, allocations: 0 / 0.7915 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.532e-05/0.005508, allocations: 50.78 kB / 0.7916 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.005518, allocations: 8 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.005522, allocations: 0 / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.005534, allocations: 5.375 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.132e-05/0.005565, allocations: 11.98 kB / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.005571, allocations: 3.938 kB / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.005585, allocations: 3.938 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.005589, allocations: 0.9062 kB / 0.7916 GB, free: 7.926 MB / 0.7448 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 6.029e-05/0.005649, allocations: 157.4 kB / 0.7918 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-06/0.005655, allocations: 0 / 0.7918 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.442e-05/0.005739, allocations: 71.08 kB / 0.7918 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005741, allocations: 3.938 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.005744, allocations: 0 / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.005747, allocations: 3.984 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.292e-05/0.00581, allocations: 129.4 kB / 0.792 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005811, allocations: 0 / 0.792 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.878e-05/0.005829, allocations: 9.203 kB / 0.792 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.005831, allocations: 0 / 0.792 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.005837, allocations: 4 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.005838, allocations: 1.312 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.005839, allocations: 0 / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.418e-05/0.005903, allocations: 92.31 kB / 0.7921 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.00593, allocations: 4 kB / 0.7921 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.00594, allocations: 5.734 kB / 0.7921 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.689e-05/0.005957, allocations: 0 / 0.7921 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.005987, allocations: 4 kB / 0.7921 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.00599, allocations: 0 / 0.7921 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.006024, allocations: 137.7 kB / 0.7922 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006025, allocations: 0 / 0.7922 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000149/0.006174, allocations: 31.88 kB / 0.7922 GB, free: 7.215 MB / 0.7448 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.0001497/0.006323, allocations: 143 kB / 0.7924 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.628e-05/0.0064, allocations: 27.67 kB / 0.7924 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.006401, allocations: 0.5 kB / 0.7924 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.006418, allocations: 20.16 kB / 0.7924 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.006559, allocations: 14.72 kB / 0.7924 GB, free: 7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.007008, allocations: 127.4 kB / 0.7926 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.8e-05/0.007036, allocations: 56.02 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.683e-05/0.007063, allocations: 7.781 kB / 0.7926 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.007082, allocations: 8.5 kB / 0.7926 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.007083, allocations: 3.938 kB / 0.7926 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of Templates: time 0.002555/0.009638, allocations: 1.153 MB / 0.7938 GB, free: 5.629 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.0501842519734055]