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.001306/0.001306, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001282/0.001282, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.379/1.379, 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 10.1.1-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.89 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7943/0.7958, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003038/0.7989, allocations: 1.652 MB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.9565, allocations: 151.6 MB / 1.317 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.9566, allocations: 0 / 1.317 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.9569, allocations: 15.8 kB / 1.317 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.9571, allocations: 39.72 kB / 1.317 GB, free: 10 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.9576, allocations: 143.4 kB / 1.317 GB, free: 9.859 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.9578, allocations: 127.5 kB / 1.317 GB, free: 9.734 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.9579, allocations: 33.33 kB / 1.317 GB, free: 9.699 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.9592, allocations: 160.1 kB / 1.317 GB, free: 9.566 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.9593, allocations: 47.78 kB / 1.317 GB, free: 9.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.9593, allocations: 4 kB / 1.317 GB, free: 9.516 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.9597, allocations: 187.7 kB / 1.318 GB, free: 9.332 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.9597, allocations: 19.92 kB / 1.318 GB, free: 9.312 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.9598, allocations: 47.73 kB / 1.318 GB, free: 9.266 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.9601, allocations: 201 kB / 1.318 GB, free: 9.074 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9602, allocations: 0 / 1.318 GB, free: 9.074 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9602, allocations: 0 / 1.318 GB, free: 9.074 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.9602, allocations: 0 / 1.318 GB, free: 9.074 MB / 1.045 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.00065/0.9608, allocations: 439 kB / 1.318 GB, free: 8.598 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.9609, allocations: 12.03 kB / 1.318 GB, free: 8.586 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.9619, allocations: 79.94 kB / 1.318 GB, free: 8.508 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.9621, allocations: 220.4 kB / 1.319 GB, free: 8.254 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.9622, allocations: 7.984 kB / 1.319 GB, free: 8.246 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.9622, allocations: 8 kB / 1.319 GB, free: 8.238 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.9626, allocations: 129.6 kB / 1.319 GB, free: 8.105 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.9626, allocations: 0 / 1.319 GB, free: 8.105 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.9627, allocations: 4 kB / 1.319 GB, free: 8.102 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.9627, allocations: 11.94 kB / 1.319 GB, free: 8.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.9632, allocations: 131.9 kB / 1.319 GB, free: 7.961 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007997/0.964, allocations: 408.3 kB / 1.319 GB, free: 7.512 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007228/0.9647, allocations: 259.7 kB / 1.32 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.965, allocations: 76.8 kB / 1.32 GB, free: 7.152 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.965, allocations: 3.938 kB / 1.32 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.9651, allocations: 34.56 kB / 1.32 GB, free: 7.105 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.9651, allocations: 0 / 1.32 GB, free: 7.105 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0007657/0.9658, allocations: 213.6 kB / 1.32 GB, free: 6.891 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.9659, allocations: 51.41 kB / 1.32 GB, free: 6.828 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.966, allocations: 149.1 kB / 1.32 GB, free: 6.676 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.966, allocations: 33.64 kB / 1.32 GB, free: 6.637 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.9661, allocations: 104.1 kB / 1.32 GB, free: 6.531 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.9661, allocations: 27.7 kB / 1.32 GB, free: 6.504 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.9662, allocations: 25.7 kB / 1.32 GB, free: 6.473 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9663, allocations: 330.8 kB / 1.321 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.9665, allocations: 47.95 kB / 1.321 GB, free: 6.094 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.9668, allocations: 82.58 kB / 1.321 GB, free: 6.004 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.9672, allocations: 116.8 kB / 1.321 GB, free: 5.887 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.9672, allocations: 8 kB / 1.321 GB, free: 5.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004942/0.9677, allocations: 153.5 kB / 1.321 GB, free: 5.723 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.9677, allocations: 11.94 kB / 1.321 GB, free: 5.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.9677, allocations: 3.938 kB / 1.321 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.9677, allocations: 0 / 1.321 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.968, allocations: 31.95 kB / 1.321 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.968, allocations: 0 / 1.321 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.9681, allocations: 15.98 kB / 1.321 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.9681, allocations: 4 kB / 1.321 GB, free: 5.656 MB / 1.045 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.0001014/0.9683, allocations: 129.7 kB / 1.321 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.9683, allocations: 11.81 kB / 1.321 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.9684, allocations: 16.72 kB / 1.321 GB, free: 5.492 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.9684, allocations: 4 kB / 1.321 GB, free: 5.488 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.9684, allocations: 0 / 1.321 GB, free: 5.488 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.9684, allocations: 0 / 1.321 GB, free: 5.488 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008017/0.9692, allocations: 458.3 kB / 1.322 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9692, allocations: 4 kB / 1.322 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.9694, allocations: 27.97 kB / 1.322 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.9694, allocations: 3.984 kB / 1.322 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.9694, allocations: 0 / 1.322 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.9694, allocations: 7.938 kB / 1.322 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.9694, allocations: 0 / 1.322 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.97, allocations: 267.2 kB / 1.322 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.97, allocations: 85.02 kB / 1.322 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.9701, allocations: 0 / 1.322 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.9702, allocations: 27.84 kB / 1.322 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.9703, allocations: 4 kB / 1.322 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.9703, allocations: 7.984 kB / 1.322 GB, free: 4.523 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.372e-05/0.9704, allocations: 113.7 kB / 1.322 GB, free: 4.414 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9704, allocations: 0 / 1.322 GB, free: 4.414 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002714/0.9707, allocations: 28 kB / 1.322 GB, free: 4.387 MB / 1.045 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.0001781/0.9709, allocations: 115.2 kB / 1.322 GB, free: 4.266 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000493/0.9714, allocations: 127.8 kB / 1.322 GB, free: 4.141 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.9714, allocations: 0 / 1.322 GB, free: 4.141 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.9716, allocations: 67.94 kB / 1.322 GB, free: 4.074 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.972, allocations: 42.39 kB / 1.322 GB, free: 4.035 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/0.9726, allocations: 264.7 kB / 1.323 GB, free: 3.746 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.9729, allocations: 0.7079 MB / 1.323 GB, free: 3.012 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.9729, allocations: 19.42 kB / 1.323 GB, free: 2.992 MB / 1.045 GB Notification: Performance of SimCode: time 2.11e-07/0.973, allocations: 0 / 1.323 GB, free: 2.992 MB / 1.045 GB Notification: Performance of Templates: time 0.003514/0.9765, allocations: 1.712 MB / 1.325 GB, free: 1.293 MB / 1.045 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/jenkins1/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