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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.000945/0.0009449, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007102/0.007103, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.781/2.781, allocations: 462.6 MB / 0.7363 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003921, allocations: 8.812 kB / 0.9027 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3213, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002015/0.3234, allocations: 1.353 MB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.16/0.4834, allocations: 147.7 MB / 1.204 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.4836, allocations: 0 / 1.204 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.4837, allocations: 15.86 kB / 1.204 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.484, allocations: 43.77 kB / 1.204 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.4844, allocations: 119.5 kB / 1.204 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.4845, allocations: 119.6 kB / 1.204 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.4847, allocations: 25.69 kB / 1.204 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.4866, allocations: 157.6 kB / 1.205 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.4867, allocations: 35.78 kB / 1.205 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.4868, allocations: 4 kB / 1.205 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005233/0.4873, allocations: 179.7 kB / 1.205 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.82e-05/0.4874, allocations: 23.91 kB / 1.205 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.4875, allocations: 65.44 kB / 1.205 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.4878, allocations: 179.4 kB / 1.205 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4878, allocations: 4 kB / 1.205 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.206e-06/0.4878, allocations: 0 / 1.205 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4879, allocations: 0 / 1.205 GB, free: 14.46 MB / 0.9669 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.0007278/0.4886, allocations: 440 kB / 1.205 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.4886, allocations: 15.97 kB / 1.205 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000945/0.4896, allocations: 83.94 kB / 1.206 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.4898, allocations: 198.8 kB / 1.206 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4898, allocations: 8 kB / 1.206 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.4899, allocations: 8 kB / 1.206 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.4903, allocations: 153.5 kB / 1.206 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4903, allocations: 0 / 1.206 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.4903, allocations: 7.984 kB / 1.206 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4904, allocations: 3.938 kB / 1.206 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005782/0.4909, allocations: 155.9 kB / 1.206 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007548/0.4917, allocations: 416.3 kB / 1.206 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/0.4925, allocations: 271.7 kB / 1.207 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.4928, allocations: 80.8 kB / 1.207 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.4928, allocations: 0 / 1.207 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.4928, allocations: 42.5 kB / 1.207 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.4928, allocations: 0 / 1.207 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0008751/0.4937, allocations: 249.3 kB / 1.207 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.4938, allocations: 55.41 kB / 1.207 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.4939, allocations: 147.9 kB / 1.207 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.4939, allocations: 25.7 kB / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.494, allocations: 104.2 kB / 1.207 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.494, allocations: 23.61 kB / 1.207 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.4941, allocations: 17.72 kB / 1.207 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.4942, allocations: 326.8 kB / 1.208 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.4944, allocations: 63.94 kB / 1.208 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.4947, allocations: 90.52 kB / 1.208 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.4952, allocations: 140.7 kB / 1.208 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4952, allocations: 0 / 1.208 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005291/0.4957, allocations: 181.5 kB / 1.208 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.4957, allocations: 12 kB / 1.208 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.4957, allocations: 3.938 kB / 1.208 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.4958, allocations: 0 / 1.208 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.496, allocations: 31.97 kB / 1.208 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.496, allocations: 0 / 1.208 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.4962, allocations: 27.92 kB / 1.208 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.4962, allocations: 11.92 kB / 1.208 GB, free: 10.88 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 0.0001038/0.4963, allocations: 121.8 kB / 1.208 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.4964, allocations: 11.81 kB / 1.208 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.36e-05/0.4964, allocations: 12.72 kB / 1.208 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4964, allocations: 7.984 kB / 1.208 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4964, allocations: 0 / 1.208 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4964, allocations: 4 kB / 1.208 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008616/0.4973, allocations: 482.3 kB / 1.209 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4973, allocations: 0 / 1.209 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.4975, allocations: 35.91 kB / 1.209 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4975, allocations: 4 kB / 1.209 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.4976, allocations: 4 kB / 1.209 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.4976, allocations: 7.938 kB / 1.209 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4976, allocations: 0 / 1.209 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/0.4981, allocations: 272 kB / 1.209 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.4982, allocations: 92.86 kB / 1.209 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.4982, allocations: 4 kB / 1.209 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.4984, allocations: 31.91 kB / 1.209 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.4985, allocations: 7.984 kB / 1.209 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.4985, allocations: 0 / 1.209 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001056/0.4986, allocations: 118.1 kB / 1.209 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4986, allocations: 3.938 kB / 1.209 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002889/0.4989, allocations: 24 kB / 1.209 GB, free: 9.566 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.0001806/0.4991, allocations: 116.8 kB / 1.21 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005319/0.4997, allocations: 151.9 kB / 1.21 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4997, allocations: 0 / 1.21 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.5, allocations: 79.88 kB / 1.21 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.5004, allocations: 33.62 kB / 1.21 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.501, allocations: 261.1 kB / 1.21 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.5013, allocations: 0.7043 MB / 1.211 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.5014, allocations: 24.41 kB / 1.211 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.5015, allocations: 23.36 kB / 1.211 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.5015, allocations: 0 / 1.211 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of Templates: time 0.005167/0.5067, allocations: 1.733 MB / 1.213 GB, free: 6.422 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