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.007521/0.007522, allocations: 105 kB / 15.74 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.001179/0.001179, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.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.481/2.481, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 66.03 kB / 0.9508 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3563, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00311/0.3595, allocations: 1.636 MB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1906/0.5501, allocations: 151.6 MB / 1.238 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.5503, allocations: 4 kB / 1.238 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.5506, allocations: 15.8 kB / 1.238 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.5509, allocations: 43.7 kB / 1.238 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.5513, allocations: 143.4 kB / 1.238 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.5515, allocations: 123.6 kB / 1.238 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.5517, allocations: 33.33 kB / 1.238 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.5528, allocations: 176.8 kB / 1.238 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.5529, allocations: 39.84 kB / 1.238 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.5529, allocations: 12 kB / 1.238 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.5533, allocations: 179.7 kB / 1.238 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.5534, allocations: 27.91 kB / 1.238 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.5535, allocations: 43.75 kB / 1.238 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.5538, allocations: 187.4 kB / 1.238 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5538, allocations: 0 / 1.238 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5538, allocations: 0 / 1.238 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5539, allocations: 0 / 1.238 GB, free: 6.703 MB / 0.9981 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.0007298/0.5546, allocations: 447 kB / 1.239 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/0.5547, allocations: 12.03 kB / 1.239 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/0.5556, allocations: 83.84 kB / 1.239 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.556, allocations: 206.8 kB / 1.239 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.556, allocations: 8 kB / 1.239 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.556, allocations: 8 kB / 1.239 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.5565, allocations: 133.5 kB / 1.239 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5565, allocations: 0 / 1.239 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.5565, allocations: 8 kB / 1.239 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.5565, allocations: 3.938 kB / 1.239 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.557, allocations: 139.8 kB / 1.239 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008306/0.5579, allocations: 412.5 kB / 1.24 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.5585, allocations: 251.7 kB / 1.24 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.5588, allocations: 80.78 kB / 1.24 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.5588, allocations: 4 kB / 1.24 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.5588, allocations: 30.56 kB / 1.24 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.5589, allocations: 0 / 1.24 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0007327/0.5596, allocations: 213.3 kB / 1.24 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.5596, allocations: 51.41 kB / 1.24 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.5598, allocations: 153.1 kB / 1.241 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.5598, allocations: 25.7 kB / 1.241 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.5599, allocations: 108 kB / 1.241 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.5599, allocations: 27.55 kB / 1.241 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.56, allocations: 37.64 kB / 1.241 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5601, allocations: 326.8 kB / 1.241 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.5603, allocations: 55.95 kB / 1.241 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.5606, allocations: 78.52 kB / 1.241 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.561, allocations: 124.7 kB / 1.241 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.561, allocations: 0 / 1.241 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004796/0.5615, allocations: 158 kB / 1.242 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5615, allocations: 4 kB / 1.242 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.5615, allocations: 0 / 1.242 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.5615, allocations: 0 / 1.242 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.5618, allocations: 35.89 kB / 1.242 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.5618, allocations: 4 kB / 1.242 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.5619, allocations: 15.98 kB / 1.242 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.562, allocations: 4.078 kB / 1.242 GB, free: 3.27 MB / 0.9981 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.0001267/0.5621, allocations: 123.7 kB / 1.242 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.5621, allocations: 7.906 kB / 1.242 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.907e-05/0.5622, allocations: 20.72 kB / 1.242 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5622, allocations: 0 / 1.242 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5622, allocations: 4 kB / 1.242 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5622, allocations: 0 / 1.242 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007969/0.563, allocations: 474.1 kB / 1.242 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5631, allocations: 0 / 1.242 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.5632, allocations: 23.97 kB / 1.242 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.5632, allocations: 4 kB / 1.242 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.5633, allocations: 7.984 kB / 1.242 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5633, allocations: 3.938 kB / 1.242 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5633, allocations: 0 / 1.242 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.5638, allocations: 255.3 kB / 1.242 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.5638, allocations: 92.86 kB / 1.243 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.5639, allocations: 4 kB / 1.243 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.5641, allocations: 15.92 kB / 1.243 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.5641, allocations: 11.98 kB / 1.243 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.5641, allocations: 8 kB / 1.243 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.86e-05/0.5642, allocations: 113.2 kB / 1.243 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5642, allocations: 0 / 1.243 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002726/0.5645, allocations: 28 kB / 1.243 GB, free: 2 MB / 0.9981 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.0001838/0.5647, allocations: 111.2 kB / 1.243 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004794/0.5652, allocations: 135.8 kB / 1.243 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5652, allocations: 0 / 1.243 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.5654, allocations: 63.94 kB / 1.243 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.5658, allocations: 37.64 kB / 1.243 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.5664, allocations: 227.2 kB / 1.243 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.5667, allocations: 0.7041 MB / 1.244 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.5668, allocations: 28.39 kB / 1.244 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.5669, allocations: 19.38 kB / 1.244 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.5669, allocations: 4 kB / 1.244 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of Templates: time 0.005022/0.5719, allocations: 1.979 MB / 1.246 GB, free: 14.67 MB / 1.014 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