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.001419/0.00142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002436/0.002436, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.606/2.606, allocations: 437 MB / 0.7099 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.88 kB / 0.8685 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6307/0.6321, allocations: 151.6 MB / 1.017 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003089/0.6352, allocations: 1.698 MB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1482/0.7835, allocations: 149.3 MB / 1.164 GB, free: 11.33 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.7836, allocations: 0 / 1.164 GB, free: 11.33 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.7838, allocations: 19.86 kB / 1.164 GB, free: 11.31 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.784, allocations: 35.77 kB / 1.164 GB, free: 11.28 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.7844, allocations: 119.6 kB / 1.164 GB, free: 11.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.7846, allocations: 111.6 kB / 1.164 GB, free: 11.05 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.7847, allocations: 35.34 kB / 1.164 GB, free: 11.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.7865, allocations: 147.7 kB / 1.164 GB, free: 10.89 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.372e-05/0.7866, allocations: 51.75 kB / 1.165 GB, free: 10.84 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.7867, allocations: 4 kB / 1.165 GB, free: 10.83 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.787, allocations: 179.6 kB / 1.165 GB, free: 10.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.7871, allocations: 27.92 kB / 1.165 GB, free: 10.63 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.7871, allocations: 39.73 kB / 1.165 GB, free: 10.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.7874, allocations: 183.5 kB / 1.165 GB, free: 10.41 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7875, allocations: 0 / 1.165 GB, free: 10.41 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7875, allocations: 7.922 kB / 1.165 GB, free: 10.4 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.7875, allocations: 0 / 1.165 GB, free: 10.4 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.0005847/0.7881, allocations: 435.1 kB / 1.165 GB, free: 9.93 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.7881, allocations: 12.03 kB / 1.165 GB, free: 9.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009614/0.7891, allocations: 83.84 kB / 1.165 GB, free: 9.836 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.7893, allocations: 206.8 kB / 1.166 GB, free: 9.594 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.7893, allocations: 4 kB / 1.166 GB, free: 9.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.7893, allocations: 12 kB / 1.166 GB, free: 9.578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.7898, allocations: 132.1 kB / 1.166 GB, free: 9.445 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.7898, allocations: 0 / 1.166 GB, free: 9.445 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.7898, allocations: 4 kB / 1.166 GB, free: 9.441 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.7898, allocations: 7.938 kB / 1.166 GB, free: 9.434 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.7904, allocations: 143.7 kB / 1.166 GB, free: 9.293 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007656/0.7912, allocations: 416.2 kB / 1.166 GB, free: 8.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/0.7919, allocations: 263.7 kB / 1.167 GB, free: 8.551 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.7921, allocations: 72.8 kB / 1.167 GB, free: 8.477 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.7922, allocations: 11.98 kB / 1.167 GB, free: 8.465 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.7922, allocations: 30.56 kB / 1.167 GB, free: 8.426 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.7922, allocations: 0 / 1.167 GB, free: 8.426 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0007773/0.793, allocations: 213.4 kB / 1.167 GB, free: 8.211 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.793, allocations: 51.41 kB / 1.167 GB, free: 8.148 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.7932, allocations: 151.7 kB / 1.167 GB, free: 7.988 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.7932, allocations: 25.7 kB / 1.167 GB, free: 7.957 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.7932, allocations: 104 kB / 1.167 GB, free: 7.852 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.7933, allocations: 23.8 kB / 1.167 GB, free: 7.828 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.7933, allocations: 25.7 kB / 1.167 GB, free: 7.797 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7935, allocations: 334.7 kB / 1.168 GB, free: 7.461 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.7937, allocations: 51.94 kB / 1.168 GB, free: 7.41 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.7939, allocations: 78.52 kB / 1.168 GB, free: 7.324 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.7944, allocations: 120.8 kB / 1.168 GB, free: 7.203 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.7944, allocations: 0 / 1.168 GB, free: 7.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000512/0.7949, allocations: 165.8 kB / 1.168 GB, free: 7.035 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.7949, allocations: 9.562 kB / 1.168 GB, free: 7.027 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7949, allocations: 0 / 1.168 GB, free: 7.027 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.795, allocations: 0 / 1.168 GB, free: 7.027 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.7952, allocations: 27.97 kB / 1.168 GB, free: 7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.7952, allocations: 4.062 kB / 1.168 GB, free: 6.996 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.7954, allocations: 15.98 kB / 1.168 GB, free: 6.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.7954, allocations: 7.984 kB / 1.168 GB, free: 6.973 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 9.901e-05/0.7955, allocations: 126.2 kB / 1.168 GB, free: 6.84 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.7955, allocations: 7.906 kB / 1.168 GB, free: 6.832 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.7956, allocations: 20.7 kB / 1.168 GB, free: 6.812 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7956, allocations: 3.938 kB / 1.168 GB, free: 6.809 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7956, allocations: 4 kB / 1.168 GB, free: 6.805 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.7956, allocations: 4 kB / 1.168 GB, free: 6.801 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008097/0.7964, allocations: 458.2 kB / 1.169 GB, free: 6.297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7965, allocations: 4 kB / 1.169 GB, free: 6.293 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.7967, allocations: 27.97 kB / 1.169 GB, free: 6.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.7967, allocations: 0 / 1.169 GB, free: 6.266 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.7967, allocations: 4 kB / 1.169 GB, free: 6.262 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7967, allocations: 3.938 kB / 1.169 GB, free: 6.258 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7967, allocations: 0 / 1.169 GB, free: 6.258 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.7972, allocations: 259.3 kB / 1.169 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.7973, allocations: 85.02 kB / 1.169 GB, free: 5.887 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.7973, allocations: 0 / 1.169 GB, free: 5.887 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.7975, allocations: 27.81 kB / 1.169 GB, free: 5.859 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.7976, allocations: 11.98 kB / 1.169 GB, free: 5.848 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.7976, allocations: 8 kB / 1.169 GB, free: 5.84 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.386e-05/0.7977, allocations: 113.1 kB / 1.169 GB, free: 5.73 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7977, allocations: 0 / 1.169 GB, free: 5.73 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002839/0.798, allocations: 27.94 kB / 1.169 GB, free: 5.703 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.0001521/0.7981, allocations: 119.2 kB / 1.169 GB, free: 5.578 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.7986, allocations: 123.8 kB / 1.169 GB, free: 5.457 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7986, allocations: 4 kB / 1.169 GB, free: 5.453 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.7989, allocations: 63.94 kB / 1.169 GB, free: 5.391 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.7992, allocations: 37.62 kB / 1.17 GB, free: 5.355 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.7998, allocations: 265 kB / 1.17 GB, free: 5.074 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.8001, allocations: 0.7004 MB / 1.17 GB, free: 4.348 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.8002, allocations: 28.41 kB / 1.17 GB, free: 4.32 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.8003, allocations: 15.42 kB / 1.17 GB, free: 4.305 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.8003, allocations: 0 / 1.17 GB, free: 4.305 MB / 0.92 GB Notification: Performance of Templates: time 0.004342/0.8047, allocations: 1.755 MB / 1.172 GB, free: 2.578 MB / 0.92 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