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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001482/0.001482, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.95 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3725, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003111/0.3757, allocations: 1.639 MB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1701/0.5458, allocations: 151.6 MB / 1.218 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.546, allocations: 0 / 1.218 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.5462, allocations: 15.8 kB / 1.218 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.5464, allocations: 39.72 kB / 1.218 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.5468, allocations: 147.4 kB / 1.218 GB, free: 464 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.547, allocations: 123.6 kB / 1.218 GB, free: 340 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.5471, allocations: 25.67 kB / 1.218 GB, free: 312 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.5484, allocations: 179.7 kB / 1.218 GB, free: 156 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.558e-05/0.5485, allocations: 39.78 kB / 1.218 GB, free: 116 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.5485, allocations: 12 kB / 1.218 GB, free: 104 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.5489, allocations: 179.7 kB / 1.219 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.549, allocations: 19.92 kB / 1.219 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.549, allocations: 47.73 kB / 1.219 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.5494, allocations: 191.5 kB / 1.219 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5494, allocations: 3.938 kB / 1.219 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5494, allocations: 0 / 1.219 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.5494, allocations: 0 / 1.219 GB, free: 15.67 MB / 0.9825 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.0006148/0.55, allocations: 450.9 kB / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.5501, allocations: 12.03 kB / 1.219 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.5511, allocations: 75.94 kB / 1.219 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.5513, allocations: 206.8 kB / 1.22 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.5513, allocations: 4 kB / 1.22 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.5513, allocations: 8 kB / 1.22 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.5518, allocations: 133.5 kB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5518, allocations: 0 / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.5518, allocations: 4 kB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.5518, allocations: 15.88 kB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.5524, allocations: 135.8 kB / 1.22 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.5532, allocations: 408.5 kB / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00076/0.5539, allocations: 255.7 kB / 1.22 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.5542, allocations: 72.8 kB / 1.22 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.5542, allocations: 4 kB / 1.22 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.5543, allocations: 34.56 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.5543, allocations: 0 / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0008659/0.5551, allocations: 221.3 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.5552, allocations: 55.34 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.5553, allocations: 148.9 kB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.5553, allocations: 29.7 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.5554, allocations: 104.2 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.5554, allocations: 27.62 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.5555, allocations: 21.7 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5556, allocations: 326.8 kB / 1.221 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.5559, allocations: 55.94 kB / 1.221 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.5561, allocations: 74.53 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.5565, allocations: 116.8 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5565, allocations: 4 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004949/0.557, allocations: 165.9 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5571, allocations: 9.719 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5571, allocations: 4 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.5571, allocations: 0 / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.5573, allocations: 31.97 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.5573, allocations: 4.062 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.5575, allocations: 15.92 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.5575, allocations: 7.984 kB / 1.222 GB, free: 12.24 MB / 0.9825 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.269e-05/0.5576, allocations: 123.5 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.5577, allocations: 11.81 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/0.5577, allocations: 20.66 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.5577, allocations: 3.938 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5577, allocations: 3.984 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.5578, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008866/0.5586, allocations: 462.4 kB / 1.222 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5587, allocations: 0 / 1.222 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.5589, allocations: 27.97 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5589, allocations: 0 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.5589, allocations: 4 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5589, allocations: 3.938 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5589, allocations: 3.938 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.5595, allocations: 259.2 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.5595, allocations: 88.95 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.5595, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.5597, allocations: 27.91 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.5598, allocations: 7.984 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.5598, allocations: 0 / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.24e-05/0.5599, allocations: 113.7 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5599, allocations: 3.938 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002796/0.5602, allocations: 31.98 kB / 1.223 GB, free: 10.97 MB / 0.9825 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.0001745/0.5603, allocations: 107.8 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000532/0.5609, allocations: 135.8 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5609, allocations: 0 / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.5611, allocations: 71.88 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.5615, allocations: 34.38 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.5621, allocations: 242.4 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.5626, allocations: 0.7002 MB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.5628, allocations: 32.34 kB / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.5628, allocations: 19.42 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.5628, allocations: 0 / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of Templates: time 0.004881/0.5677, allocations: 1.929 MB / 1.226 GB, free: 7.676 MB / 0.9825 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