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.001669/0.001669, allocations: 100.1 kB / 15.88 MB, free: 12 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.001693/0.001693, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.771/2.771, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.97 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2879, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002846/0.2907, allocations: 1.71 MB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1599/0.4507, allocations: 149.3 MB / 1.2 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.4508, allocations: 0 / 1.2 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.451, allocations: 11.88 kB / 1.2 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.4513, allocations: 31.83 kB / 1.2 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.4517, allocations: 131.5 kB / 1.2 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.4519, allocations: 119.6 kB / 1.2 GB, free: 472 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.452, allocations: 25.67 kB / 1.2 GB, free: 444 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.454, allocations: 155.5 kB / 1.201 GB, free: 308 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.851e-05/0.454, allocations: 47.77 kB / 1.201 GB, free: 260 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.4541, allocations: 4 kB / 1.201 GB, free: 256 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.4545, allocations: 179.6 kB / 1.201 GB, free: 76 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.4545, allocations: 15.92 kB / 1.201 GB, free: 60 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.4546, allocations: 51.73 kB / 1.201 GB, free: 8 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.4549, allocations: 135.7 kB / 1.201 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4549, allocations: 0 / 1.201 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.41e-07/0.4549, allocations: 4 kB / 1.201 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4549, allocations: 0 / 1.201 GB, free: 15.87 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.0006569/0.4556, allocations: 431.1 kB / 1.201 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4556, allocations: 15.97 kB / 1.201 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009993/0.4566, allocations: 87.84 kB / 1.202 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.4569, allocations: 198.9 kB / 1.202 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4569, allocations: 8 kB / 1.202 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.4569, allocations: 11.84 kB / 1.202 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.4574, allocations: 139.2 kB / 1.202 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4574, allocations: 0 / 1.202 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.4574, allocations: 7.984 kB / 1.202 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4574, allocations: 7.938 kB / 1.202 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/0.458, allocations: 135.9 kB / 1.202 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008117/0.4588, allocations: 412.3 kB / 1.202 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.4595, allocations: 251.7 kB / 1.203 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.4598, allocations: 72.8 kB / 1.203 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.4599, allocations: 4 kB / 1.203 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.4599, allocations: 42.48 kB / 1.203 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.4599, allocations: 3.938 kB / 1.203 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0007951/0.4607, allocations: 209.4 kB / 1.203 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.4607, allocations: 51.41 kB / 1.203 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.4609, allocations: 152.5 kB / 1.203 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.4609, allocations: 25.7 kB / 1.203 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.461, allocations: 108.1 kB / 1.203 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.461, allocations: 23.7 kB / 1.203 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.4611, allocations: 21.72 kB / 1.203 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4612, allocations: 322.8 kB / 1.204 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.4614, allocations: 67.92 kB / 1.204 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.4617, allocations: 82.45 kB / 1.204 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.4621, allocations: 121.2 kB / 1.204 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4621, allocations: 0 / 1.204 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004807/0.4626, allocations: 153.4 kB / 1.204 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4626, allocations: 8 kB / 1.204 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4626, allocations: 4 kB / 1.204 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4626, allocations: 0 / 1.204 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.4629, allocations: 35.91 kB / 1.204 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4629, allocations: 0 / 1.204 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.463, allocations: 19.91 kB / 1.204 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.4631, allocations: 7.938 kB / 1.204 GB, free: 12.45 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.0001027/0.4632, allocations: 121.8 kB / 1.204 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.4632, allocations: 7.906 kB / 1.204 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/0.4633, allocations: 20.7 kB / 1.204 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4633, allocations: 0 / 1.204 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4633, allocations: 0 / 1.204 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4633, allocations: 4 kB / 1.204 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.4641, allocations: 466.2 kB / 1.205 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4641, allocations: 4 kB / 1.205 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.4643, allocations: 23.97 kB / 1.205 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4643, allocations: 0 / 1.205 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.4644, allocations: 8 kB / 1.205 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.4644, allocations: 3.938 kB / 1.205 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4644, allocations: 0 / 1.205 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.4649, allocations: 259.3 kB / 1.205 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.465, allocations: 92.94 kB / 1.205 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.465, allocations: 0 / 1.205 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.4652, allocations: 19.83 kB / 1.205 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.4652, allocations: 15.92 kB / 1.205 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4653, allocations: 7.938 kB / 1.205 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.745e-05/0.4653, allocations: 109.7 kB / 1.205 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4653, allocations: 0 / 1.205 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002713/0.4656, allocations: 32 kB / 1.205 GB, free: 11.18 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.0001685/0.4658, allocations: 111.2 kB / 1.205 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.4663, allocations: 119.9 kB / 1.205 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4663, allocations: 4 kB / 1.205 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.4666, allocations: 71.88 kB / 1.206 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.4669, allocations: 23.97 kB / 1.206 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.4675, allocations: 290.5 kB / 1.206 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.4678, allocations: 0.7043 MB / 1.207 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.4679, allocations: 19.42 kB / 1.207 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.4679, allocations: 0 / 1.207 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of Templates: time 0.00351/0.4714, allocations: 1.715 MB / 1.208 GB, free: 8.074 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/jenkins1/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