Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.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.001005/0.001005, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009788/0.0009788, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 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.9943/0.9943, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.699/1.699, allocations: 359 MB / 0.6052 GB, free: 11.03 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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.608e-05, allocations: 7.781 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001669/0.001685, allocations: 1.535 MB / 0.7886 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009465/0.002631, allocations: 0.8139 MB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.002665, allocations: 4 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.002694, allocations: 5.531 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.002742, allocations: 11.91 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.003122, allocations: 143.2 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.712e-05/0.003199, allocations: 51.8 kB / 0.7896 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.003285, allocations: 15.97 kB / 0.7896 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.953e-05/0.003334, allocations: 23.98 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.8e-05/0.003372, allocations: 23.91 kB / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.003386, allocations: 4 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002784/0.003665, allocations: 163.7 kB / 0.7898 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.003682, allocations: 11.97 kB / 0.7898 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.003703, allocations: 12 kB / 0.7898 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.003908, allocations: 156.2 kB / 0.79 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.00391, allocations: 0 / 0.79 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.00391, allocations: 5.594 kB / 0.79 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.003914, allocations: 4 kB / 0.79 GB, free: 9.562 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000345/0.004259, allocations: 416.1 kB / 0.7904 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.004292, allocations: 8.031 kB / 0.7904 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.004326, allocations: 5.594 kB / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.388e-05/0.0044, allocations: 116.5 kB / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.004411, allocations: 9.094 kB / 0.7905 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.004419, allocations: 384 / 0.7905 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.004545, allocations: 72.03 kB / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.004551, allocations: 192 / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.00456, allocations: 5.141 kB / 0.7906 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.004567, allocations: 4.375 kB / 0.7906 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.27e-05/0.0046, allocations: 13.27 kB / 0.7906 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.004874, allocations: 275.7 kB / 0.7909 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.772e-05/0.004942, allocations: 35 kB / 0.7909 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.004966, allocations: 16.78 kB / 0.7909 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.005075, allocations: 12.08 kB / 0.7909 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.005095, allocations: 42.17 kB / 0.791 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.005096, allocations: 0 / 0.791 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001377/0.005233, allocations: 46.91 kB / 0.791 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.005258, allocations: 51.41 kB / 0.7911 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.963e-05/0.005327, allocations: 177.8 kB / 0.7912 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.005335, allocations: 27.08 kB / 0.7913 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.005379, allocations: 142.8 kB / 0.7914 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.005394, allocations: 7.953 kB / 0.7914 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.00542, allocations: 23.38 kB / 0.7914 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.005515, allocations: 496.6 kB / 0.7919 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.005533, allocations: 12.47 kB / 0.7919 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.005545, allocations: 0 / 0.7919 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.005576, allocations: 16.56 kB / 0.7919 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005577, allocations: 0 / 0.7919 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.944e-05/0.005637, allocations: 62.33 kB / 0.792 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.005646, allocations: 4 kB / 0.792 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.00565, allocations: 0.5312 kB / 0.792 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.00566, allocations: 1.375 kB / 0.792 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.005723, allocations: 11.98 kB / 0.792 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.005728, allocations: 0 / 0.792 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.005749, allocations: 4 kB / 0.792 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.005756, allocations: 5.25 kB / 0.792 GB, free: 7.289 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 (3): * Single equations (assignments): 3 * 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.599e-05/0.005812, allocations: 160.6 kB / 0.7922 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.005828, allocations: 12.7 kB / 0.7922 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.968e-05/0.005907, allocations: 45.69 kB / 0.7922 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.00591, allocations: 4.938 kB / 0.7922 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.005912, allocations: 0 / 0.7922 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.005914, allocations: 0 / 0.7922 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.983e-05/0.006004, allocations: 125.8 kB / 0.7923 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.006005, allocations: 3.938 kB / 0.7923 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.006033, allocations: 8 kB / 0.7924 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.006034, allocations: 1.344 kB / 0.7924 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.006042, allocations: 7.938 kB / 0.7924 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006042, allocations: 2.219 kB / 0.7924 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.006044, allocations: 3.984 kB / 0.7924 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.721e-05/0.006132, allocations: 191.9 kB / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.006138, allocations: 7.938 kB / 0.7926 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.006148, allocations: 3.938 kB / 0.7926 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.565e-05/0.006184, allocations: 4 kB / 0.7926 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.006222, allocations: 11.2 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.006225, allocations: 4 kB / 0.7926 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.42e-05/0.006259, allocations: 135.1 kB / 0.7927 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006259, allocations: 0 / 0.7927 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001777/0.006437, allocations: 35.88 kB / 0.7927 GB, free: 6.473 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 (3): * Single equations (assignments): 3 * 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.0001415/0.006578, allocations: 135.1 kB / 0.7929 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.245e-05/0.006661, allocations: 20.81 kB / 0.7929 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006662, allocations: 0 / 0.7929 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.123e-05/0.006683, allocations: 15.67 kB / 0.7929 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.00685, allocations: 8.531 kB / 0.7929 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.0071, allocations: 160.4 kB / 0.7931 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.142e-05/0.007131, allocations: 55.36 kB / 0.7931 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.007151, allocations: 5.094 kB / 0.7931 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.007174, allocations: 16.5 kB / 0.7931 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.007174, allocations: 0.6562 kB / 0.7931 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of Templates: time 0.002863/0.01004, allocations: 1.58 MB / 0.7947 GB, free: 4.461 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_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.763989309314638]