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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00613/0.00613, allocations: 101.5 kB / 15.73 MB, free: 6.047 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.001348/0.001348, allocations: 196.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.84 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9472/0.9485, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002651/0.9512, allocations: 1.641 MB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1761/1.127, allocations: 151.5 MB / 1.357 GB, free: 3.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/1.127, allocations: 0 / 1.357 GB, free: 3.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001827/1.128, allocations: 15.8 kB / 1.357 GB, free: 3.805 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000274/1.128, allocations: 43.72 kB / 1.357 GB, free: 3.762 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/1.129, allocations: 143.4 kB / 1.358 GB, free: 3.621 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/1.129, allocations: 127.5 kB / 1.358 GB, free: 3.496 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/1.129, allocations: 29.39 kB / 1.358 GB, free: 3.465 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/1.13, allocations: 174 kB / 1.358 GB, free: 3.316 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/1.13, allocations: 51.72 kB / 1.358 GB, free: 3.266 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/1.13, allocations: 4 kB / 1.358 GB, free: 3.262 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/1.131, allocations: 179.7 kB / 1.358 GB, free: 3.086 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/1.131, allocations: 19.92 kB / 1.358 GB, free: 3.066 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.578e-05/1.131, allocations: 47.73 kB / 1.358 GB, free: 3.02 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/1.131, allocations: 201.1 kB / 1.358 GB, free: 2.828 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.131, allocations: 4 kB / 1.358 GB, free: 2.824 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.743e-06/1.131, allocations: 0 / 1.358 GB, free: 2.824 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.522e-05/1.131, allocations: 0 / 1.358 GB, free: 2.824 MB / 1.076 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.0006516/1.132, allocations: 442.9 kB / 1.359 GB, free: 2.344 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.132, allocations: 8.031 kB / 1.359 GB, free: 2.336 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/1.133, allocations: 83.94 kB / 1.359 GB, free: 2.254 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/1.133, allocations: 208.6 kB / 1.359 GB, free: 2.012 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/1.133, allocations: 4 kB / 1.359 GB, free: 2.008 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/1.133, allocations: 8 kB / 1.359 GB, free: 2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/1.133, allocations: 141.5 kB / 1.359 GB, free: 1.855 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.133, allocations: 0 / 1.359 GB, free: 1.855 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/1.133, allocations: 0 / 1.359 GB, free: 1.855 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/1.134, allocations: 7.938 kB / 1.359 GB, free: 1.848 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/1.134, allocations: 139.8 kB / 1.359 GB, free: 1.711 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007819/1.135, allocations: 412.5 kB / 1.36 GB, free: 1.258 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/1.135, allocations: 251.7 kB / 1.36 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/1.136, allocations: 72.8 kB / 1.36 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/1.136, allocations: 3.984 kB / 1.36 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/1.136, allocations: 38.55 kB / 1.36 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/1.136, allocations: 4 kB / 1.36 GB, free: 0.8555 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0007288/1.137, allocations: 217.3 kB / 1.36 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/1.137, allocations: 55.41 kB / 1.36 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/1.137, allocations: 144.9 kB / 1.36 GB, free: 432 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/1.137, allocations: 29.7 kB / 1.36 GB, free: 396 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/1.137, allocations: 104.1 kB / 1.361 GB, free: 288 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/1.137, allocations: 27.69 kB / 1.361 GB, free: 260 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/1.137, allocations: 25.7 kB / 1.361 GB, free: 228 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.137, allocations: 322.8 kB / 1.361 GB, free: 15.9 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/1.137, allocations: 55.94 kB / 1.361 GB, free: 15.84 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/1.137, allocations: 78.45 kB / 1.361 GB, free: 15.76 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/1.138, allocations: 117.3 kB / 1.361 GB, free: 15.64 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.138, allocations: 0 / 1.361 GB, free: 15.64 MB / 1.092 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004474/1.138, allocations: 169.4 kB / 1.361 GB, free: 15.47 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.138, allocations: 15.94 kB / 1.361 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.138, allocations: 0 / 1.361 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.138, allocations: 0 / 1.361 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/1.139, allocations: 27.97 kB / 1.361 GB, free: 15.43 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.139, allocations: 0 / 1.361 GB, free: 15.43 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/1.139, allocations: 19.97 kB / 1.361 GB, free: 15.41 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/1.139, allocations: 8 kB / 1.361 GB, free: 15.4 MB / 1.092 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.347e-05/1.139, allocations: 125.7 kB / 1.362 GB, free: 15.27 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/1.139, allocations: 11.81 kB / 1.362 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.384e-05/1.139, allocations: 24.64 kB / 1.362 GB, free: 15.22 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/1.139, allocations: 0 / 1.362 GB, free: 15.22 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.139, allocations: 0 / 1.362 GB, free: 15.22 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.139, allocations: 0 / 1.362 GB, free: 15.22 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007694/1.14, allocations: 454.4 kB / 1.362 GB, free: 14.72 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.14, allocations: 0 / 1.362 GB, free: 14.72 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/1.14, allocations: 27.97 kB / 1.362 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1.14, allocations: 0 / 1.362 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/1.14, allocations: 8 kB / 1.362 GB, free: 14.69 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/1.14, allocations: 15.86 kB / 1.362 GB, free: 14.67 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.14, allocations: 0 / 1.362 GB, free: 14.67 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/1.141, allocations: 255.2 kB / 1.362 GB, free: 14.41 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/1.141, allocations: 89 kB / 1.362 GB, free: 14.3 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/1.141, allocations: 4 kB / 1.362 GB, free: 14.3 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/1.141, allocations: 15.92 kB / 1.362 GB, free: 14.28 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/1.141, allocations: 7.984 kB / 1.362 GB, free: 14.27 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/1.141, allocations: 4 kB / 1.362 GB, free: 14.27 MB / 1.092 GB Notification: Performance of sorting global known variables: time 7.044e-05/1.141, allocations: 113.3 kB / 1.363 GB, free: 14.16 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.141, allocations: 0 / 1.363 GB, free: 14.16 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002608/1.141, allocations: 24 kB / 1.363 GB, free: 14.14 MB / 1.092 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001794/1.141, allocations: 123.2 kB / 1.363 GB, free: 14.01 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004764/1.142, allocations: 119.8 kB / 1.363 GB, free: 13.89 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.142, allocations: 4 kB / 1.363 GB, free: 13.89 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/1.142, allocations: 67.88 kB / 1.363 GB, free: 13.82 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/1.142, allocations: 39.91 kB / 1.363 GB, free: 13.78 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/1.143, allocations: 239 kB / 1.363 GB, free: 13.52 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/1.143, allocations: 0.7002 MB / 1.364 GB, free: 12.79 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001158/1.143, allocations: 28.41 kB / 1.364 GB, free: 12.77 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/1.143, allocations: 15.42 kB / 1.364 GB, free: 12.75 MB / 1.092 GB Notification: Performance of SimCode: time 2.21e-07/1.143, allocations: 0 / 1.364 GB, free: 12.75 MB / 1.092 GB Notification: Performance of Templates: time 0.005045/1.149, allocations: 1.943 MB / 1.366 GB, free: 10.84 MB / 1.092 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches