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.001505/0.001505, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001519/0.001519, allocations: 189.8 kB / 16.25 MB, free: 6.629 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 461.9 MB / 0.7343 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.41 kB / 0.8986 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 157.4 MB / 1.052 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003018/0.316, allocations: 1.696 MB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1476/0.4637, allocations: 149.4 MB / 1.2 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.4638, allocations: 8 kB / 1.2 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.464, allocations: 15.86 kB / 1.2 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.4643, allocations: 35.77 kB / 1.2 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.4646, allocations: 127.6 kB / 1.2 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.4648, allocations: 123.5 kB / 1.2 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.4649, allocations: 33.66 kB / 1.2 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.4666, allocations: 176.9 kB / 1.2 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.4667, allocations: 43.78 kB / 1.2 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.4667, allocations: 8 kB / 1.2 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.4671, allocations: 191.6 kB / 1.201 GB, free: 364 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.4671, allocations: 23.91 kB / 1.201 GB, free: 340 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.4672, allocations: 43.73 kB / 1.201 GB, free: 296 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.4674, allocations: 187.5 kB / 1.201 GB, free: 108 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4675, allocations: 4 kB / 1.201 GB, free: 104 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4675, allocations: 0 / 1.201 GB, free: 104 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.4675, allocations: 0 / 1.201 GB, free: 104 kB / 0.9512 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.0006164/0.4681, allocations: 439 kB / 1.201 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.4681, allocations: 12.62 kB / 1.201 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000957/0.4691, allocations: 83.84 kB / 1.201 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.4693, allocations: 202.8 kB / 1.201 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.4693, allocations: 8 kB / 1.201 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.4694, allocations: 8 kB / 1.201 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.4698, allocations: 137.5 kB / 1.202 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.4698, allocations: 0 / 1.202 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.4698, allocations: 0 / 1.202 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.4698, allocations: 3.938 kB / 1.202 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.4704, allocations: 143.8 kB / 1.202 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008013/0.4712, allocations: 416.3 kB / 1.202 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/0.4719, allocations: 247.7 kB / 1.202 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.4722, allocations: 80.78 kB / 1.202 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.4722, allocations: 7.938 kB / 1.202 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.4722, allocations: 30.56 kB / 1.202 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.4723, allocations: 0 / 1.202 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0008039/0.4731, allocations: 217.4 kB / 1.203 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.4731, allocations: 59.41 kB / 1.203 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4732, allocations: 138.5 kB / 1.203 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.4733, allocations: 29.7 kB / 1.203 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.4733, allocations: 108.1 kB / 1.203 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.4734, allocations: 23.7 kB / 1.203 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.4734, allocations: 29.7 kB / 1.203 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4735, allocations: 322.8 kB / 1.203 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.4738, allocations: 51.94 kB / 1.203 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.474, allocations: 78.52 kB / 1.204 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.4744, allocations: 112.8 kB / 1.204 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4744, allocations: 0 / 1.204 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004961/0.4749, allocations: 173.3 kB / 1.204 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4749, allocations: 4 kB / 1.204 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4749, allocations: 0.5469 kB / 1.204 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.475, allocations: 0 / 1.204 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.4752, allocations: 27.97 kB / 1.204 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4752, allocations: 0 / 1.204 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.4754, allocations: 35.91 kB / 1.204 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.4754, allocations: 3.984 kB / 1.204 GB, free: 12.68 MB / 0.9669 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.323e-05/0.4755, allocations: 121.8 kB / 1.204 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.4755, allocations: 11.89 kB / 1.204 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.972e-05/0.4756, allocations: 12.72 kB / 1.204 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4756, allocations: 4 kB / 1.204 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4756, allocations: 4 kB / 1.204 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4756, allocations: 3.938 kB / 1.204 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007921/0.4764, allocations: 466.2 kB / 1.204 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4764, allocations: 4 kB / 1.204 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.4766, allocations: 31.97 kB / 1.204 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.4766, allocations: 0 / 1.204 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.4767, allocations: 3.984 kB / 1.204 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4767, allocations: 3.938 kB / 1.204 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4767, allocations: 0 / 1.204 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.4772, allocations: 259.3 kB / 1.205 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.4772, allocations: 88.95 kB / 1.205 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.4773, allocations: 0 / 1.205 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.4775, allocations: 27.77 kB / 1.205 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.4775, allocations: 11.98 kB / 1.205 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.4775, allocations: 4 kB / 1.205 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.286e-05/0.4776, allocations: 114.1 kB / 1.205 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4776, allocations: 0 / 1.205 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000274/0.4779, allocations: 32 kB / 1.205 GB, free: 11.4 MB / 0.9669 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.0001572/0.4781, allocations: 107.2 kB / 1.205 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.4786, allocations: 139.8 kB / 1.205 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4786, allocations: 0 / 1.205 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.4788, allocations: 67.89 kB / 1.205 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.4792, allocations: 33.17 kB / 1.205 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.4798, allocations: 263 kB / 1.206 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.4801, allocations: 0.7002 MB / 1.206 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.4802, allocations: 32.34 kB / 1.206 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.4803, allocations: 11.44 kB / 1.206 GB, free: 10 MB / 0.9669 GB Notification: Performance of SimCode: time 6.51e-07/0.4803, allocations: 0 / 1.206 GB, free: 10 MB / 0.9669 GB Notification: Performance of Templates: time 0.00435/0.4846, allocations: 1.826 MB / 1.208 GB, free: 8.207 MB / 0.9669 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