Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.56/1.56, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 180.8 kB / 316.3 MB, free: 3.281 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.832/1.832, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009026/0.0009025, allocations: 82.53 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.715e-05/1.716e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2615, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9959/1.258, allocations: 133.9 MB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/1.258, allocations: 74.39 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008264/1.266, allocations: 2.489 MB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.215e-06/1.266, allocations: 1.094 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.947e-06/1.266, allocations: 0 / 1.018 GB, free: 1.691 MB / 0.6355 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.0007051/1.267, allocations: 397.4 kB / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.267, allocations: 12.03 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/1.267, allocations: 3.906 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/1.267, allocations: 171 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/1.267, allocations: 3.984 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/1.267, allocations: 4 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001215/1.267, allocations: 23.12 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/1.268, allocations: 52.48 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.268, allocations: 1.75 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/1.268, allocations: 5.25 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.268, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/1.268, allocations: 255.9 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/1.268, allocations: 36.89 kB / 1.019 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/1.268, allocations: 12.11 kB / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/1.269, allocations: 93.19 kB / 1.019 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/1.269, allocations: 34.56 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/1.269, allocations: 0 / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004986/1.269, allocations: 73.41 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/1.269, allocations: 51.41 kB / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/1.269, allocations: 104.5 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/1.269, allocations: 29.7 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/1.269, allocations: 91.67 kB / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/1.27, allocations: 11.84 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/1.27, allocations: 3.938 kB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.27, allocations: 322.3 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/1.27, allocations: 7.75 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.171e-05/1.27, allocations: 10.22 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/1.27, allocations: 31.22 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.27, allocations: 384 / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002447/1.27, allocations: 79.31 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.27, allocations: 8 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.27, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/1.27, allocations: 3.938 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/1.27, allocations: 19.98 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.27, allocations: 3.984 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.894e-05/1.271, allocations: 23.48 kB / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/1.271, allocations: 4.828 kB / 1.02 GB, free: 15.62 MB / 0.6511 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 () * 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 9.233e-05/1.271, allocations: 107.6 kB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/1.271, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/1.271, allocations: 87.17 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.271, allocations: 0 / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/1.271, allocations: 0 / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.271, allocations: 0 / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/1.271, allocations: 148.5 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.271, allocations: 8 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/1.271, allocations: 26.78 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.271, allocations: 240 / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/1.271, allocations: 0 / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.539e-05/1.271, allocations: 4 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.271, allocations: 0 / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/1.272, allocations: 185.4 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/1.272, allocations: 77.11 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/1.272, allocations: 0 / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/1.272, allocations: 15.98 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/1.272, allocations: 11.36 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/1.272, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.748e-05/1.272, allocations: 82.53 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/1.272, allocations: 8 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002879/1.272, allocations: 35.83 kB / 1.021 GB, free: 14.79 MB / 0.6511 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 () * 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.0003221/1.273, allocations: 139.2 kB / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001229/1.273, allocations: 18.81 kB / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.273, allocations: 3.938 kB / 1.021 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/1.273, allocations: 18.86 kB / 1.021 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/1.273, allocations: 16.17 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/1.273, allocations: 71 kB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/1.274, allocations: 0.6922 MB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.876e-05/1.274, allocations: 3.859 kB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/1.274, allocations: 11.44 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/1.274, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of Templates: time 0.003437/1.277, allocations: 1.03 MB / 1.023 GB, free: 12.77 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches