Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.313/1.313, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001078, allocations: 180.9 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 96.56 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 7.938 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2486, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.4393, allocations: 133.3 MB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.4396, allocations: 83.95 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008491/0.4481, allocations: 2.654 MB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4482, allocations: 0 / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.4482, allocations: 0 / 1.033 GB, free: 7.699 MB / 0.6823 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.0004244/0.4486, allocations: 367.1 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4487, allocations: 8.031 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.4487, allocations: 11.98 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.4489, allocations: 167 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-05/0.449, allocations: 29.7 kB / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.449, allocations: 0 / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.4491, allocations: 41.69 kB / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4492, allocations: 0 / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4492, allocations: 0 / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4492, allocations: 3.984 kB / 1.034 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.759e-05/0.4493, allocations: 19.98 kB / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.4495, allocations: 161.7 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.4497, allocations: 51.17 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.45, allocations: 178.3 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.45, allocations: 42.56 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4501, allocations: 0 / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002374/0.4503, allocations: 61.58 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.4504, allocations: 63.34 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.4504, allocations: 85.19 kB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.4505, allocations: 25.7 kB / 1.034 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.4505, allocations: 84.14 kB / 1.034 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.4505, allocations: 11.84 kB / 1.034 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.4505, allocations: 0 / 1.034 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4507, allocations: 322.8 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.421e-05/0.4507, allocations: 12 kB / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.4508, allocations: 12.16 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.426e-05/0.4508, allocations: 12 kB / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4508, allocations: 0 / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001168/0.4509, allocations: 57.58 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.451, allocations: 4 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.451, allocations: 8 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.451, allocations: 0 / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.03e-05/0.4511, allocations: 7.938 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4511, allocations: 0 / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.4511, allocations: 4 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.4511, allocations: 3.938 kB / 1.035 GB, free: 5.629 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.209e-05/0.4512, allocations: 121.8 kB / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.4512, allocations: 0 / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.4514, allocations: 73.16 kB / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4514, allocations: 0 / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4514, allocations: 0 / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4514, allocations: 0 / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.4516, allocations: 165.6 kB / 1.035 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4516, allocations: 0 / 1.035 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.4516, allocations: 11.94 kB / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4516, allocations: 7.922 kB / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.4517, allocations: 0 / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4517, allocations: 0 / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4517, allocations: 4 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.4518, allocations: 85.03 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/0.4519, allocations: 89.05 kB / 1.035 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.4519, allocations: 0 / 1.035 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.524e-05/0.452, allocations: 4 kB / 1.035 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.452, allocations: 3.984 kB / 1.035 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.452, allocations: 0 / 1.035 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.149e-05/0.4521, allocations: 87.28 kB / 1.035 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4521, allocations: 0 / 1.035 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002392/0.4523, allocations: 35.94 kB / 1.035 GB, free: 4.848 MB / 0.6823 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 (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.0002604/0.4526, allocations: 145.9 kB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.4528, allocations: 31.97 kB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4528, allocations: 0 / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.7e-05/0.4528, allocations: 8 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.453, allocations: 19.38 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.4533, allocations: 144.3 kB / 1.036 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.4536, allocations: 0.677 MB / 1.036 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.909e-05/0.4536, allocations: 11.86 kB / 1.036 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.4537, allocations: 11.44 kB / 1.036 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/0.4537, allocations: 0 / 1.036 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of Templates: time 0.003246/0.4569, allocations: 0.9285 MB / 1.037 GB, free: 2.824 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches