Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001422/0.001422, 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.002335/0.002335, allocations: 193.8 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.652/2.652, allocations: 437 MB / 0.7103 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 71.88 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5881/0.5895, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002545/0.5921, allocations: 1.646 MB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1539/0.746, allocations: 151.5 MB / 1.167 GB, free: 8.715 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.7462, allocations: 0 / 1.167 GB, free: 8.715 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.7464, allocations: 19.8 kB / 1.167 GB, free: 8.695 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.7466, allocations: 43.72 kB / 1.167 GB, free: 8.652 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.747, allocations: 147.4 kB / 1.167 GB, free: 8.508 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.7472, allocations: 123.6 kB / 1.167 GB, free: 8.387 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.7473, allocations: 35.34 kB / 1.167 GB, free: 8.352 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.7485, allocations: 160.1 kB / 1.167 GB, free: 8.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.7485, allocations: 43.78 kB / 1.167 GB, free: 8.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.7486, allocations: 8 kB / 1.167 GB, free: 8.168 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.7489, allocations: 183.6 kB / 1.168 GB, free: 7.988 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.655e-05/0.749, allocations: 19.92 kB / 1.168 GB, free: 7.969 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.7491, allocations: 47.73 kB / 1.168 GB, free: 7.922 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.7494, allocations: 183.5 kB / 1.168 GB, free: 7.742 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.7494, allocations: 0 / 1.168 GB, free: 7.742 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7494, allocations: 0 / 1.168 GB, free: 7.742 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7494, allocations: 4 kB / 1.168 GB, free: 7.738 MB / 0.92 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.0005967/0.75, allocations: 450.9 kB / 1.168 GB, free: 7.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.75, allocations: 12.03 kB / 1.168 GB, free: 7.238 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008894/0.7509, allocations: 83.84 kB / 1.168 GB, free: 7.156 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.7511, allocations: 202.8 kB / 1.169 GB, free: 6.918 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.7512, allocations: 8 kB / 1.169 GB, free: 6.91 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.7512, allocations: 4 kB / 1.169 GB, free: 6.906 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.7516, allocations: 137.6 kB / 1.169 GB, free: 6.766 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.7516, allocations: 0 / 1.169 GB, free: 6.766 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.7516, allocations: 0 / 1.169 GB, free: 6.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.7517, allocations: 7.938 kB / 1.169 GB, free: 6.758 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/0.7522, allocations: 139.9 kB / 1.169 GB, free: 6.621 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007153/0.7529, allocations: 420.1 kB / 1.169 GB, free: 6.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.7536, allocations: 255.7 kB / 1.169 GB, free: 5.883 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.7539, allocations: 76.78 kB / 1.17 GB, free: 5.805 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.7539, allocations: 4 kB / 1.17 GB, free: 5.801 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.7539, allocations: 30.56 kB / 1.17 GB, free: 5.762 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.7539, allocations: 0 / 1.17 GB, free: 5.762 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.000754/0.7547, allocations: 209.4 kB / 1.17 GB, free: 5.551 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.7547, allocations: 51.41 kB / 1.17 GB, free: 5.488 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.7549, allocations: 155.8 kB / 1.17 GB, free: 5.324 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.7549, allocations: 29.7 kB / 1.17 GB, free: 5.289 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.755, allocations: 108 kB / 1.17 GB, free: 5.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.755, allocations: 27.78 kB / 1.17 GB, free: 5.152 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.7551, allocations: 25.64 kB / 1.17 GB, free: 5.121 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.7552, allocations: 326.8 kB / 1.17 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.7554, allocations: 55.94 kB / 1.171 GB, free: 4.738 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.7556, allocations: 74.52 kB / 1.171 GB, free: 4.656 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.756, allocations: 116.8 kB / 1.171 GB, free: 4.539 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.756, allocations: 4 kB / 1.171 GB, free: 4.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004904/0.7565, allocations: 153.5 kB / 1.171 GB, free: 4.379 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.7566, allocations: 8 kB / 1.171 GB, free: 4.371 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.7566, allocations: 8 kB / 1.171 GB, free: 4.363 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7566, allocations: 0 / 1.171 GB, free: 4.363 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.7568, allocations: 31.91 kB / 1.171 GB, free: 4.332 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.7568, allocations: 0 / 1.171 GB, free: 4.332 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.757, allocations: 19.89 kB / 1.171 GB, free: 4.312 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.757, allocations: 7.984 kB / 1.171 GB, free: 4.305 MB / 0.92 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.0001047/0.7571, allocations: 125.7 kB / 1.171 GB, free: 4.172 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.7572, allocations: 11.89 kB / 1.171 GB, free: 4.16 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.984e-05/0.7572, allocations: 16.72 kB / 1.171 GB, free: 4.145 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.7572, allocations: 3.984 kB / 1.171 GB, free: 4.141 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7573, allocations: 0 / 1.171 GB, free: 4.141 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7573, allocations: 0 / 1.171 GB, free: 4.141 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007988/0.7581, allocations: 466.2 kB / 1.172 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.7581, allocations: 0 / 1.172 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.7583, allocations: 31.91 kB / 1.172 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.7583, allocations: 0 / 1.172 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.7583, allocations: 8 kB / 1.172 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7583, allocations: 7.938 kB / 1.172 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.7583, allocations: 0 / 1.172 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006585/0.759, allocations: 255.9 kB / 1.172 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.759, allocations: 89.02 kB / 1.172 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.7591, allocations: 4 kB / 1.172 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.7592, allocations: 19.91 kB / 1.172 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.7593, allocations: 11.98 kB / 1.172 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.7593, allocations: 0 / 1.172 GB, free: 3.176 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.654e-05/0.7594, allocations: 112.9 kB / 1.172 GB, free: 3.066 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.7594, allocations: 0 / 1.172 GB, free: 3.066 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002759/0.7597, allocations: 35.94 kB / 1.172 GB, free: 3.031 MB / 0.92 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.0001596/0.7599, allocations: 111.2 kB / 1.172 GB, free: 2.914 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005193/0.7604, allocations: 131.8 kB / 1.172 GB, free: 2.785 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7604, allocations: 0 / 1.172 GB, free: 2.785 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.7607, allocations: 68.17 kB / 1.172 GB, free: 2.719 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.761, allocations: 45.77 kB / 1.172 GB, free: 2.676 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/0.7616, allocations: 240.2 kB / 1.173 GB, free: 2.418 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.7619, allocations: 0.7041 MB / 1.173 GB, free: 1.688 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000154/0.762, allocations: 24.36 kB / 1.173 GB, free: 1.664 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.7621, allocations: 15.42 kB / 1.173 GB, free: 1.648 MB / 0.92 GB Notification: Performance of SimCode: time 2.7e-07/0.7621, allocations: 4 kB / 1.173 GB, free: 1.645 MB / 0.92 GB Notification: Performance of Templates: time 0.005234/0.7673, allocations: 1.927 MB / 1.175 GB, free: 15.74 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches