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.001237/0.001237, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00131/0.00131, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 60.12 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8507/0.8525, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003224/0.8557, allocations: 1.651 MB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.177/1.033, allocations: 151.5 MB / 1.358 GB, free: 3.844 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/1.033, allocations: 7.938 kB / 1.358 GB, free: 3.836 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001893/1.033, allocations: 11.86 kB / 1.358 GB, free: 3.824 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003171/1.034, allocations: 43.64 kB / 1.358 GB, free: 3.781 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/1.034, allocations: 151.4 kB / 1.358 GB, free: 3.633 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002292/1.034, allocations: 115.6 kB / 1.358 GB, free: 3.52 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/1.034, allocations: 29.39 kB / 1.358 GB, free: 3.488 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/1.036, allocations: 182.7 kB / 1.359 GB, free: 3.336 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.238e-05/1.036, allocations: 43.78 kB / 1.359 GB, free: 3.293 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/1.036, allocations: 8 kB / 1.359 GB, free: 3.285 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004157/1.036, allocations: 179.7 kB / 1.359 GB, free: 3.109 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/1.036, allocations: 23.91 kB / 1.359 GB, free: 3.086 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/1.037, allocations: 51.73 kB / 1.359 GB, free: 3.035 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004467/1.037, allocations: 193 kB / 1.359 GB, free: 2.852 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.037, allocations: 0 / 1.359 GB, free: 2.852 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.112e-06/1.037, allocations: 0 / 1.359 GB, free: 2.852 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.496e-06/1.037, allocations: 0 / 1.359 GB, free: 2.852 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.0007392/1.038, allocations: 443 kB / 1.359 GB, free: 2.371 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.038, allocations: 12.03 kB / 1.359 GB, free: 2.359 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009682/1.039, allocations: 79.94 kB / 1.359 GB, free: 2.281 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/1.039, allocations: 210.7 kB / 1.36 GB, free: 2.035 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/1.039, allocations: 4 kB / 1.36 GB, free: 2.031 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/1.039, allocations: 15.98 kB / 1.36 GB, free: 2.016 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/1.04, allocations: 135.9 kB / 1.36 GB, free: 1.879 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.04, allocations: 0 / 1.36 GB, free: 1.879 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/1.04, allocations: 8 kB / 1.36 GB, free: 1.871 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/1.04, allocations: 7.922 kB / 1.36 GB, free: 1.863 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/1.04, allocations: 135.9 kB / 1.36 GB, free: 1.73 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/1.041, allocations: 412.5 kB / 1.36 GB, free: 1.277 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/1.042, allocations: 255.6 kB / 1.361 GB, free: 1 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/1.042, allocations: 76.8 kB / 1.361 GB, free: 0.9219 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/1.042, allocations: 4 kB / 1.361 GB, free: 0.918 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/1.042, allocations: 30.56 kB / 1.361 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/1.042, allocations: 0 / 1.361 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0008116/1.043, allocations: 213.3 kB / 1.361 GB, free: 0.6641 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/1.043, allocations: 51.41 kB / 1.361 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/1.043, allocations: 152.7 kB / 1.361 GB, free: 456 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/1.043, allocations: 29.64 kB / 1.361 GB, free: 420 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/1.043, allocations: 104.1 kB / 1.361 GB, free: 312 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/1.043, allocations: 27.7 kB / 1.361 GB, free: 284 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/1.043, allocations: 29.7 kB / 1.361 GB, free: 248 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.043, allocations: 326.7 kB / 1.362 GB, free: 15.91 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/1.044, allocations: 51.95 kB / 1.362 GB, free: 15.86 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/1.044, allocations: 78.52 kB / 1.362 GB, free: 15.78 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/1.044, allocations: 121.2 kB / 1.362 GB, free: 15.66 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.044, allocations: 4.031 kB / 1.362 GB, free: 15.65 MB / 1.092 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005296/1.045, allocations: 157.5 kB / 1.362 GB, free: 15.49 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.045, allocations: 4 kB / 1.362 GB, free: 15.49 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.045, allocations: 0 / 1.362 GB, free: 15.49 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/1.045, allocations: 0 / 1.362 GB, free: 15.49 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/1.045, allocations: 43.89 kB / 1.362 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.045, allocations: 0 / 1.362 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/1.045, allocations: 15.98 kB / 1.362 GB, free: 15.43 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/1.045, allocations: 7.938 kB / 1.362 GB, free: 15.42 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 0.0001147/1.046, allocations: 125.7 kB / 1.362 GB, free: 15.29 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/1.046, allocations: 11.81 kB / 1.362 GB, free: 15.28 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.608e-05/1.046, allocations: 20.72 kB / 1.362 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.046, allocations: 0 / 1.362 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.046, allocations: 4 kB / 1.362 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/1.046, allocations: 0 / 1.362 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008498/1.047, allocations: 462.3 kB / 1.363 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.047, allocations: 0 / 1.363 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/1.047, allocations: 23.97 kB / 1.363 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/1.047, allocations: 7.984 kB / 1.363 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/1.047, allocations: 4 kB / 1.363 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.047, allocations: 3.938 kB / 1.363 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.047, allocations: 0 / 1.363 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/1.047, allocations: 259.2 kB / 1.363 GB, free: 14.43 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/1.048, allocations: 85.02 kB / 1.363 GB, free: 14.33 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/1.048, allocations: 4 kB / 1.363 GB, free: 14.32 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/1.048, allocations: 23.91 kB / 1.363 GB, free: 14.3 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/1.048, allocations: 4 kB / 1.363 GB, free: 14.3 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/1.048, allocations: 7.984 kB / 1.363 GB, free: 14.29 MB / 1.092 GB Notification: Performance of sorting global known variables: time 8.494e-05/1.048, allocations: 107.3 kB / 1.363 GB, free: 14.18 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.048, allocations: 0 / 1.363 GB, free: 14.18 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002895/1.048, allocations: 24 kB / 1.363 GB, free: 14.16 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.000202/1.048, allocations: 127.1 kB / 1.363 GB, free: 14.03 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005345/1.049, allocations: 127.8 kB / 1.363 GB, free: 13.9 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.049, allocations: 4 kB / 1.363 GB, free: 13.9 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/1.049, allocations: 67.94 kB / 1.364 GB, free: 13.83 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/1.05, allocations: 29.91 kB / 1.364 GB, free: 13.8 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006504/1.05, allocations: 256.8 kB / 1.364 GB, free: 13.52 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/1.051, allocations: 0.7002 MB / 1.364 GB, free: 12.79 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/1.051, allocations: 19.42 kB / 1.365 GB, free: 12.77 MB / 1.092 GB Notification: Performance of SimCode: time 1.513e-06/1.051, allocations: 0 / 1.365 GB, free: 12.77 MB / 1.092 GB Notification: Performance of Templates: time 0.003986/1.055, allocations: 1.721 MB / 1.366 GB, free: 11.06 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/jenkins1/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