Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.802/2.802, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 8 kB / 0.8708 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9296/0.93, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001901/0.9319, allocations: 1.192 MB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.9331, allocations: 0.6634 MB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.9332, allocations: 4 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.9332, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.542e-05/0.9333, allocations: 11.97 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.9338, allocations: 107.6 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.678e-05/0.9339, allocations: 31.95 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.934, allocations: 11.98 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.82e-05/0.9341, allocations: 19.92 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.9342, allocations: 19.92 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.9342, allocations: 0 / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.9346, allocations: 167.8 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.9346, allocations: 15.88 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.9346, allocations: 29.64 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.9349, allocations: 97.77 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.9349, allocations: 4 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.457e-06/0.9349, allocations: 0 / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.9349, allocations: 0 / 1.023 GB, free: 14.74 MB / 0.7794 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.0007144/0.9356, allocations: 399.1 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/0.9357, allocations: 19.98 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.9358, allocations: 0 / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.9359, allocations: 171 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.936, allocations: 7.953 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.936, allocations: 4 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.9363, allocations: 93.56 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.9363, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.9363, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.9363, allocations: 4 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.9367, allocations: 91.92 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.9373, allocations: 280.8 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.9375, allocations: 74.47 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/0.9378, allocations: 89.19 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.9378, allocations: 30.56 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 3.437e-06/0.9378, allocations: 0 / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006629/0.9385, allocations: 169.4 kB / 1.024 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.9386, allocations: 51.41 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.9387, allocations: 121.8 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.9387, allocations: 25.7 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.9388, allocations: 92.2 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.9388, allocations: 15.81 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.9389, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.939, allocations: 322.8 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.9392, allocations: 39.97 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.9393, allocations: 43.95 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.9395, allocations: 43.97 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9395, allocations: 0 / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003486/0.9399, allocations: 117.6 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.9399, allocations: 6.031 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.9399, allocations: 7.984 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.9399, allocations: 0 / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.9401, allocations: 23.92 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.9401, allocations: 0 / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.9402, allocations: 27.92 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.9402, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.9403, allocations: 117.7 kB / 1.025 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.9404, allocations: 3.906 kB / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/0.9408, allocations: 133.5 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.9408, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.9408, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.9409, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.9411, allocations: 173.6 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.9411, allocations: 8 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.541e-05/0.9412, allocations: 19.97 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.9412, allocations: 4.375 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.9412, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.9412, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9412, allocations: 3.938 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.9416, allocations: 231.3 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.9417, allocations: 85.09 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.9417, allocations: 0 / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.9418, allocations: 15.98 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.9419, allocations: 7.984 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.9419, allocations: 0 / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.17e-05/0.9419, allocations: 91.72 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.942, allocations: 4 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002818/0.9422, allocations: 27.98 kB / 1.026 GB, free: 11.17 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002508/0.9425, allocations: 131.2 kB / 1.026 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003677/0.9429, allocations: 91.86 kB / 1.026 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9429, allocations: 0 / 1.026 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.943, allocations: 51.95 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.9433, allocations: 4.328 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.9437, allocations: 166.5 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.9441, allocations: 0.6887 MB / 1.027 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.747e-05/0.9441, allocations: 4 kB / 1.027 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.9442, allocations: 11.38 kB / 1.027 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of SimCode: time 1.933e-06/0.9442, allocations: 0 / 1.027 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of Templates: time 0.003587/0.9478, allocations: 1.203 MB / 1.029 GB, free: 8.777 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches