Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007381/0.007381, allocations: 99.78 kB / 15.73 MB, free: 6.004 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.001254/0.001254, allocations: 190.4 kB / 16.67 MB, free: 5.922 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 0.9508 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17/1.172, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003145/1.175, allocations: 1.641 MB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2162/1.391, allocations: 151.5 MB / 1.237 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/1.391, allocations: 1.281 kB / 1.237 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/1.392, allocations: 20.7 kB / 1.238 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002964/1.392, allocations: 41.09 kB / 1.238 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005508/1.392, allocations: 153.5 kB / 1.238 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000228/1.393, allocations: 122.3 kB / 1.238 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/1.393, allocations: 33.47 kB / 1.238 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/1.394, allocations: 174.4 kB / 1.238 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/1.394, allocations: 40.31 kB / 1.238 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/1.394, allocations: 15 kB / 1.238 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/1.395, allocations: 181.5 kB / 1.238 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/1.395, allocations: 21.58 kB / 1.238 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/1.395, allocations: 44.67 kB / 1.238 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004285/1.395, allocations: 193 kB / 1.238 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.395, allocations: 4 kB / 1.238 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/1.395, allocations: 0.9062 kB / 1.238 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.205e-06/1.395, allocations: 0 / 1.238 GB, free: 1.684 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.0008074/1.396, allocations: 451.5 kB / 1.239 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.396, allocations: 9.312 kB / 1.239 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009612/1.397, allocations: 88.72 kB / 1.239 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/1.398, allocations: 205.8 kB / 1.239 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/1.398, allocations: 3.625 kB / 1.239 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/1.398, allocations: 9.812 kB / 1.239 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/1.398, allocations: 138.2 kB / 1.239 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/1.398, allocations: 0 / 1.239 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/1.398, allocations: 5.5 kB / 1.239 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.398, allocations: 5.188 kB / 1.239 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/1.399, allocations: 140.4 kB / 1.24 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008284/1.4, allocations: 418.3 kB / 1.24 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/1.4, allocations: 258 kB / 1.24 GB, free: 208 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/1.401, allocations: 73.92 kB / 1.24 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/1.401, allocations: 1.375 kB / 1.24 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/1.401, allocations: 31.94 kB / 1.24 GB, free: 128 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/1.401, allocations: 7.938 kB / 1.24 GB, free: 120 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0008576/1.402, allocations: 213.8 kB / 1.24 GB, free: 0 / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/1.402, allocations: 56.78 kB / 1.241 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/1.402, allocations: 148.8 kB / 1.241 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/1.402, allocations: 27.08 kB / 1.241 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/1.402, allocations: 96.27 kB / 1.241 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/1.402, allocations: 32 kB / 1.241 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/1.402, allocations: 24.58 kB / 1.241 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.402, allocations: 329.5 kB / 1.241 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/1.402, allocations: 51.45 kB / 1.241 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/1.403, allocations: 74.89 kB / 1.241 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/1.403, allocations: 121.3 kB / 1.241 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.403, allocations: 0 / 1.241 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005348/1.404, allocations: 165.5 kB / 1.242 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.404, allocations: 9.25 kB / 1.242 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.404, allocations: 0 / 1.242 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/1.404, allocations: 5.453 kB / 1.242 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/1.404, allocations: 29.36 kB / 1.242 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.404, allocations: 1.438 kB / 1.242 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/1.404, allocations: 17.39 kB / 1.242 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/1.404, allocations: 6.75 kB / 1.242 GB, free: 15.04 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 0.0001938/1.404, allocations: 126.3 kB / 1.242 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/1.404, allocations: 16.53 kB / 1.242 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-05/1.404, allocations: 15.41 kB / 1.242 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.404, allocations: 1.188 kB / 1.242 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.405, allocations: 0 / 1.242 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.405, allocations: 4.906 kB / 1.242 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008972/1.405, allocations: 458.4 kB / 1.242 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/1.405, allocations: 0 / 1.242 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/1.406, allocations: 26.16 kB / 1.242 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.406, allocations: 1.344 kB / 1.242 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/1.406, allocations: 9.266 kB / 1.242 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.406, allocations: 3.938 kB / 1.242 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.406, allocations: 1.281 kB / 1.242 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/1.406, allocations: 268.3 kB / 1.242 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/1.406, allocations: 87.28 kB / 1.243 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/1.406, allocations: 0.9375 kB / 1.243 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/1.407, allocations: 20.3 kB / 1.243 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/1.407, allocations: 7.234 kB / 1.243 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/1.407, allocations: 1.594 kB / 1.243 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001147/1.407, allocations: 117.4 kB / 1.243 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.407, allocations: 0 / 1.243 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003153/1.407, allocations: 27.94 kB / 1.243 GB, free: 14.03 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.0002643/1.407, allocations: 119 kB / 1.243 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005954/1.408, allocations: 132.2 kB / 1.243 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.408, allocations: 4.969 kB / 1.243 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/1.408, allocations: 64.62 kB / 1.243 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/1.409, allocations: 24.89 kB / 1.243 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/1.409, allocations: 230.6 kB / 1.243 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/1.41, allocations: 0.7037 MB / 1.244 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001632/1.41, allocations: 32.78 kB / 1.244 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/1.41, allocations: 12.75 kB / 1.244 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/1.41, allocations: 1.656 kB / 1.244 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of Templates: time 0.006638/1.417, allocations: 1.946 MB / 1.246 GB, free: 11.59 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches