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.006025/0.006024, allocations: 102.2 kB / 15.73 MB, free: 6.039 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.001287/0.001288, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 63.91 kB / 1.054 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9699/0.9712, allocations: 157.4 MB / 1.208 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00293/0.9742, allocations: 1.652 MB / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1719/1.146, allocations: 151.5 MB / 1.357 GB, free: 4.016 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/1.146, allocations: 4 kB / 1.357 GB, free: 4.012 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001611/1.147, allocations: 11.81 kB / 1.357 GB, free: 4 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002799/1.147, allocations: 39.7 kB / 1.357 GB, free: 3.961 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/1.147, allocations: 151.4 kB / 1.358 GB, free: 3.812 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/1.148, allocations: 123.5 kB / 1.358 GB, free: 3.691 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/1.148, allocations: 21.41 kB / 1.358 GB, free: 3.668 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/1.149, allocations: 173.5 kB / 1.358 GB, free: 3.523 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/1.149, allocations: 43.78 kB / 1.358 GB, free: 3.48 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/1.149, allocations: 8 kB / 1.358 GB, free: 3.473 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/1.149, allocations: 183.6 kB / 1.358 GB, free: 3.293 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/1.15, allocations: 19.92 kB / 1.358 GB, free: 3.273 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/1.15, allocations: 51.67 kB / 1.358 GB, free: 3.223 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/1.15, allocations: 197.3 kB / 1.358 GB, free: 3.031 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.15, allocations: 0 / 1.358 GB, free: 3.031 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.342e-06/1.15, allocations: 0 / 1.358 GB, free: 3.031 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.783e-06/1.15, allocations: 0 / 1.358 GB, free: 3.031 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.000759/1.151, allocations: 439 kB / 1.359 GB, free: 2.555 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.151, allocations: 12.03 kB / 1.359 GB, free: 2.543 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008971/1.152, allocations: 83.94 kB / 1.359 GB, free: 2.461 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/1.152, allocations: 212.2 kB / 1.359 GB, free: 2.215 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/1.152, allocations: 4 kB / 1.359 GB, free: 2.211 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/1.152, allocations: 12 kB / 1.359 GB, free: 2.199 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/1.152, allocations: 125.6 kB / 1.359 GB, free: 2.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.152, allocations: 11.92 kB / 1.359 GB, free: 2.059 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/1.152, allocations: 8 kB / 1.359 GB, free: 2.051 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.152, allocations: 3.938 kB / 1.359 GB, free: 2.047 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/1.153, allocations: 139.8 kB / 1.359 GB, free: 1.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000846/1.154, allocations: 408.5 kB / 1.36 GB, free: 1.461 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007384/1.155, allocations: 251.7 kB / 1.36 GB, free: 1.188 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/1.155, allocations: 76.78 kB / 1.36 GB, free: 1.109 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/1.155, allocations: 4 kB / 1.36 GB, free: 1.105 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/1.155, allocations: 38.55 kB / 1.36 GB, free: 1.059 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/1.155, allocations: 0 / 1.36 GB, free: 1.059 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0007763/1.156, allocations: 217.6 kB / 1.36 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/1.156, allocations: 55.34 kB / 1.36 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/1.156, allocations: 148.7 kB / 1.36 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/1.156, allocations: 25.7 kB / 1.36 GB, free: 0.5898 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/1.156, allocations: 104.1 kB / 1.361 GB, free: 496 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/1.156, allocations: 31.69 kB / 1.361 GB, free: 464 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/1.156, allocations: 21.72 kB / 1.361 GB, free: 436 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.156, allocations: 322.8 kB / 1.361 GB, free: 104 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/1.157, allocations: 59.94 kB / 1.361 GB, free: 44 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/1.157, allocations: 82.66 kB / 1.361 GB, free: 15.95 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/1.157, allocations: 112.8 kB / 1.361 GB, free: 15.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.157, allocations: 4.031 kB / 1.361 GB, free: 15.83 MB / 1.092 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005559/1.158, allocations: 165.4 kB / 1.361 GB, free: 15.66 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.158, allocations: 4 kB / 1.361 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.158, allocations: 0 / 1.361 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.158, allocations: 0 / 1.361 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/1.158, allocations: 31.97 kB / 1.361 GB, free: 15.63 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/1.158, allocations: 0 / 1.361 GB, free: 15.63 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/1.158, allocations: 15.97 kB / 1.361 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/1.158, allocations: 4 kB / 1.361 GB, free: 15.61 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.517e-05/1.158, allocations: 129.7 kB / 1.362 GB, free: 15.47 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/1.158, allocations: 11.81 kB / 1.362 GB, free: 15.46 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/1.159, allocations: 20.7 kB / 1.362 GB, free: 15.43 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.159, allocations: 0 / 1.362 GB, free: 15.43 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.159, allocations: 4 kB / 1.362 GB, free: 15.43 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/1.159, allocations: 0 / 1.362 GB, free: 15.43 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000807/1.159, allocations: 470.2 kB / 1.362 GB, free: 14.92 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.159, allocations: 0 / 1.362 GB, free: 14.92 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/1.16, allocations: 23.97 kB / 1.362 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.16, allocations: 4 kB / 1.362 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/1.16, allocations: 0 / 1.362 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/1.16, allocations: 3.938 kB / 1.362 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.16, allocations: 0 / 1.362 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/1.16, allocations: 267.2 kB / 1.362 GB, free: 14.61 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/1.16, allocations: 89 kB / 1.362 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/1.16, allocations: 0 / 1.362 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/1.16, allocations: 23.92 kB / 1.362 GB, free: 14.48 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/1.16, allocations: 7.984 kB / 1.362 GB, free: 14.47 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/1.161, allocations: 4 kB / 1.362 GB, free: 14.47 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001215/1.161, allocations: 113.3 kB / 1.363 GB, free: 14.36 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.01e-07/1.161, allocations: 0 / 1.363 GB, free: 14.36 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002707/1.161, allocations: 24 kB / 1.363 GB, free: 14.34 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.0001803/1.161, allocations: 115.2 kB / 1.363 GB, free: 14.21 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005137/1.162, allocations: 127.8 kB / 1.363 GB, free: 14.09 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.162, allocations: 4 kB / 1.363 GB, free: 14.09 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/1.162, allocations: 63.94 kB / 1.363 GB, free: 14.02 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/1.162, allocations: 40.59 kB / 1.363 GB, free: 13.98 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000593/1.163, allocations: 235 kB / 1.363 GB, free: 13.73 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/1.163, allocations: 0.7041 MB / 1.364 GB, free: 13 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001129/1.163, allocations: 24.41 kB / 1.364 GB, free: 12.97 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/1.163, allocations: 23.42 kB / 1.364 GB, free: 12.95 MB / 1.092 GB Notification: Performance of SimCode: time 2.21e-07/1.163, allocations: 0 / 1.364 GB, free: 12.95 MB / 1.092 GB Notification: Performance of Templates: time 0.005168/1.169, allocations: 1.968 MB / 1.366 GB, free: 11 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