Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001241/0.001241, allocations: 99.62 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.001443/0.001443, 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.47/1.47, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.531/2.531, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004451, allocations: 8 kB / 0.8145 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.012, allocations: 142.3 MB / 0.9535 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00163/1.014, allocations: 1.314 MB / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1648/1.179, allocations: 127.9 MB / 1.08 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/1.179, allocations: 0 / 1.08 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/1.179, allocations: 11.92 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/1.179, allocations: 51.75 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/1.18, allocations: 127.6 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/1.18, allocations: 79.84 kB / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/1.18, allocations: 25.38 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/1.18, allocations: 91.81 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.466e-05/1.18, allocations: 35.84 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/1.18, allocations: 4 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/1.181, allocations: 187.7 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/1.181, allocations: 15.92 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/1.181, allocations: 41.64 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/1.181, allocations: 129.7 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/1.181, allocations: 0 / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.322e-06/1.181, allocations: 0 / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.418e-06/1.181, allocations: 4 kB / 1.08 GB, free: 13.8 MB / 0.8419 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.0005874/1.182, allocations: 434.8 kB / 1.081 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/1.182, allocations: 12.03 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009119/1.183, allocations: 79.72 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/1.183, allocations: 204.8 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/1.183, allocations: 7.953 kB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/1.183, allocations: 8 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/1.183, allocations: 150.6 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/1.183, allocations: 0 / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/1.183, allocations: 8 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/1.183, allocations: 3.984 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005319/1.184, allocations: 159.9 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/1.185, allocations: 404.4 kB / 1.082 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/1.185, allocations: 271.6 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/1.185, allocations: 0 / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/1.185, allocations: 34.56 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/1.185, allocations: 0 / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0007765/1.186, allocations: 253.3 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/1.186, allocations: 55.34 kB / 1.082 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/1.186, allocations: 152.1 kB / 1.083 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/1.186, allocations: 29.7 kB / 1.083 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/1.186, allocations: 100.3 kB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/1.187, allocations: 31.62 kB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/1.187, allocations: 4 kB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.187, allocations: 318.8 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/1.187, allocations: 63.95 kB / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/1.187, allocations: 86.52 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/1.187, allocations: 67.94 kB / 1.083 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.187, allocations: 0 / 1.083 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004847/1.188, allocations: 189.6 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.188, allocations: 9.5 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.188, allocations: 0 / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/1.188, allocations: 0 / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/1.188, allocations: 35.95 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/1.188, allocations: 3.953 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/1.188, allocations: 27.98 kB / 1.084 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/1.188, allocations: 4 kB / 1.084 GB, free: 10.42 MB / 0.8419 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 9.467e-05/1.188, allocations: 117.8 kB / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/1.188, allocations: 7.906 kB / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/1.189, allocations: 16.72 kB / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/1.189, allocations: 4 kB / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.189, allocations: 0 / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.189, allocations: 3.953 kB / 1.084 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008268/1.189, allocations: 490.2 kB / 1.084 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.189, allocations: 0 / 1.084 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/1.19, allocations: 35.97 kB / 1.084 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/1.19, allocations: 0 / 1.084 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/1.19, allocations: 11.94 kB / 1.084 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.19, allocations: 4 kB / 1.084 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.19, allocations: 0 / 1.084 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/1.19, allocations: 275.3 kB / 1.084 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/1.19, allocations: 88.92 kB / 1.085 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/1.19, allocations: 8 kB / 1.085 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/1.19, allocations: 19.94 kB / 1.085 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/1.191, allocations: 7.984 kB / 1.085 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/1.191, allocations: 0 / 1.085 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.659e-05/1.191, allocations: 121.8 kB / 1.085 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.191, allocations: 3.938 kB / 1.085 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002646/1.191, allocations: 32 kB / 1.085 GB, free: 9.098 MB / 0.8419 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.0001908/1.191, allocations: 115.2 kB / 1.085 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000509/1.192, allocations: 151.8 kB / 1.085 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.192, allocations: 0 / 1.085 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/1.192, allocations: 76.8 kB / 1.085 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/1.192, allocations: 31.92 kB / 1.085 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/1.193, allocations: 253.1 kB / 1.085 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/1.193, allocations: 0.7119 MB / 1.086 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001396/1.193, allocations: 28.39 kB / 1.086 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/1.193, allocations: 19.44 kB / 1.086 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/1.193, allocations: 0 / 1.086 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of Templates: time 0.004521/1.198, allocations: 1.682 MB / 1.088 GB, free: 6.008 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches