Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008797/0.0008798, allocations: 99.7 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.0009865/0.0009865, allocations: 177.3 kB / 15.94 MB, free: 228 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.458/1.458, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.868/2.868, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005618/0.0005617, allocations: 15.98 kB / 0.8707 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9794/0.98, allocations: 153.6 MB / 1.021 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002378/0.9825, allocations: 1.332 MB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1576/1.14, allocations: 127.9 MB / 1.147 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.971e-05/1.14, allocations: 0 / 1.147 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/1.14, allocations: 7.922 kB / 1.147 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001977/1.141, allocations: 47.88 kB / 1.147 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/1.141, allocations: 123.6 kB / 1.147 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/1.141, allocations: 79.83 kB / 1.147 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/1.141, allocations: 21.39 kB / 1.147 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/1.141, allocations: 95.8 kB / 1.147 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/1.142, allocations: 31.84 kB / 1.147 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/1.142, allocations: 4 kB / 1.147 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003475/1.142, allocations: 187.7 kB / 1.148 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/1.142, allocations: 19.92 kB / 1.148 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/1.142, allocations: 41.64 kB / 1.148 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/1.142, allocations: 125.7 kB / 1.148 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/1.142, allocations: 0 / 1.148 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.293e-06/1.142, allocations: 0 / 1.148 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.142, allocations: 4 kB / 1.148 GB, free: 14.8 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005782/1.143, allocations: 438.8 kB / 1.148 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/1.143, allocations: 19.92 kB / 1.148 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008837/1.144, allocations: 79.72 kB / 1.148 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/1.144, allocations: 208.7 kB / 1.148 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/1.144, allocations: 8 kB / 1.148 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/1.144, allocations: 4 kB / 1.148 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/1.144, allocations: 153.5 kB / 1.149 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.144, allocations: 0 / 1.149 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/1.144, allocations: 0 / 1.149 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/1.144, allocations: 4 kB / 1.149 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000529/1.145, allocations: 163.9 kB / 1.149 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/1.146, allocations: 420.2 kB / 1.149 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007128/1.146, allocations: 263.7 kB / 1.149 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/1.146, allocations: 0 / 1.149 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/1.147, allocations: 38.56 kB / 1.149 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/1.147, allocations: 4 kB / 1.149 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0007731/1.147, allocations: 245.5 kB / 1.15 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/1.147, allocations: 51.41 kB / 1.15 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/1.147, allocations: 152.1 kB / 1.15 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/1.147, allocations: 29.69 kB / 1.15 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/1.148, allocations: 100.3 kB / 1.15 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/1.148, allocations: 27.69 kB / 1.15 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/1.148, allocations: 4 kB / 1.15 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/1.148, allocations: 322.8 kB / 1.15 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/1.148, allocations: 67.95 kB / 1.15 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/1.148, allocations: 86.52 kB / 1.151 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/1.148, allocations: 68.41 kB / 1.151 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.148, allocations: 0 / 1.151 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004747/1.149, allocations: 193.5 kB / 1.151 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.149, allocations: 4 kB / 1.151 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.149, allocations: 0 / 1.151 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/1.149, allocations: 0 / 1.151 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/1.149, allocations: 35.91 kB / 1.151 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/1.149, allocations: 3.984 kB / 1.151 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/1.149, allocations: 23.98 kB / 1.151 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/1.149, allocations: 4 kB / 1.151 GB, free: 11.41 MB / 0.9044 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 (8): * Single equations (assignments): 8 * 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 8.376e-05/1.149, allocations: 117.8 kB / 1.151 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/1.15, allocations: 19.75 kB / 1.151 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/1.15, allocations: 16.72 kB / 1.151 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.15, allocations: 4 kB / 1.151 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/1.15, allocations: 3.938 kB / 1.151 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/1.15, allocations: 0 / 1.151 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008791/1.15, allocations: 490.2 kB / 1.151 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.15, allocations: 0 / 1.151 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/1.151, allocations: 35.97 kB / 1.151 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/1.151, allocations: 0 / 1.151 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.151, allocations: 7.922 kB / 1.151 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.151, allocations: 4 kB / 1.151 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/1.151, allocations: 0 / 1.151 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000532/1.151, allocations: 287.2 kB / 1.152 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/1.151, allocations: 88.91 kB / 1.152 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/1.151, allocations: 0 / 1.152 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/1.152, allocations: 23.98 kB / 1.152 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/1.152, allocations: 7.984 kB / 1.152 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/1.152, allocations: 0 / 1.152 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.03e-05/1.152, allocations: 117.9 kB / 1.152 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.152, allocations: 4 kB / 1.152 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002596/1.152, allocations: 24 kB / 1.152 GB, free: 10.08 MB / 0.9044 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 (8): * Single equations (assignments): 8 * 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.0002024/1.152, allocations: 115.2 kB / 1.152 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004846/1.153, allocations: 151.8 kB / 1.152 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.153, allocations: 0 / 1.152 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/1.153, allocations: 75.94 kB / 1.152 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/1.153, allocations: 27.92 kB / 1.152 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/1.154, allocations: 261.1 kB / 1.153 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/1.154, allocations: 0.7043 MB / 1.153 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001407/1.154, allocations: 28.36 kB / 1.153 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/1.154, allocations: 23.36 kB / 1.153 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.154, allocations: 0 / 1.153 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of Templates: time 0.004511/1.159, allocations: 1.691 MB / 1.155 GB, free: 6.984 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches