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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001076/0.001076, allocations: 92.16 kB / 16.02 MB, free: 80 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.001341/0.001341, allocations: 172.9 kB / 16.92 MB, free: 6.652 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: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7197/0.7201, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001574/0.7218, allocations: 1.357 MB / 0.957 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.8829, allocations: 147.7 MB / 1.101 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.883, allocations: 0 / 1.101 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.8832, allocations: 15.86 kB / 1.101 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.8835, allocations: 39.77 kB / 1.101 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.8839, allocations: 123.5 kB / 1.101 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.8841, allocations: 107.6 kB / 1.102 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.8843, allocations: 31.36 kB / 1.102 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.8863, allocations: 143.8 kB / 1.102 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.8864, allocations: 35.8 kB / 1.102 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.8864, allocations: 7.938 kB / 1.102 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.8868, allocations: 183.7 kB / 1.102 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.8869, allocations: 23.91 kB / 1.102 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.759e-05/0.8869, allocations: 61.45 kB / 1.102 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.8872, allocations: 131.7 kB / 1.102 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.8872, allocations: 0 / 1.102 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8872, allocations: 0 / 1.102 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.8872, allocations: 0 / 1.102 GB, free: 8.934 MB / 0.8575 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.0006446/0.8879, allocations: 444.4 kB / 1.103 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.8879, allocations: 8.031 kB / 1.103 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009828/0.8889, allocations: 91.83 kB / 1.103 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.8891, allocations: 198.8 kB / 1.103 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.8892, allocations: 7.984 kB / 1.103 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.8892, allocations: 8 kB / 1.103 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.8897, allocations: 145.6 kB / 1.103 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.8897, allocations: 3.984 kB / 1.103 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.8897, allocations: 3.938 kB / 1.103 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.8897, allocations: 7.938 kB / 1.103 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006148/0.8904, allocations: 159.9 kB / 1.103 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/0.8912, allocations: 408.4 kB / 1.104 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/0.8919, allocations: 271.7 kB / 1.104 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.8922, allocations: 84.8 kB / 1.104 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.8923, allocations: 4 kB / 1.104 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.8923, allocations: 34.56 kB / 1.104 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.8923, allocations: 0 / 1.104 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0008908/0.8932, allocations: 249.4 kB / 1.104 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.8932, allocations: 55.34 kB / 1.104 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.8934, allocations: 148.7 kB / 1.104 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.8934, allocations: 33.64 kB / 1.104 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.8935, allocations: 104 kB / 1.104 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.8935, allocations: 23.8 kB / 1.104 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.8936, allocations: 9.719 kB / 1.104 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.8937, allocations: 330.8 kB / 1.105 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.8939, allocations: 67.94 kB / 1.105 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.8942, allocations: 86.83 kB / 1.105 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.8947, allocations: 140.9 kB / 1.105 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8947, allocations: 0 / 1.105 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00056/0.8953, allocations: 189.4 kB / 1.105 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.8953, allocations: 4 kB / 1.105 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.8953, allocations: 3.938 kB / 1.105 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.8953, allocations: 0 / 1.105 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.8956, allocations: 31.97 kB / 1.105 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.8956, allocations: 0 / 1.105 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.8958, allocations: 27.97 kB / 1.105 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.8958, allocations: 4 kB / 1.105 GB, free: 5.363 MB / 0.8575 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.0001094/0.8959, allocations: 125.7 kB / 1.105 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.8959, allocations: 7.906 kB / 1.105 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.314e-05/0.896, allocations: 16.7 kB / 1.105 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.896, allocations: 4 kB / 1.105 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.896, allocations: 0 / 1.105 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.896, allocations: 0 / 1.105 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008774/0.8969, allocations: 490.2 kB / 1.106 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8969, allocations: 0 / 1.106 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.8971, allocations: 35.97 kB / 1.106 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8971, allocations: 0 / 1.106 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.8972, allocations: 7.938 kB / 1.106 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.8972, allocations: 3.938 kB / 1.106 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8972, allocations: 0 / 1.106 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.8978, allocations: 283.3 kB / 1.106 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.8979, allocations: 93 kB / 1.106 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.8979, allocations: 0 / 1.106 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.8981, allocations: 31.77 kB / 1.106 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.8982, allocations: 7.984 kB / 1.106 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.8982, allocations: 4 kB / 1.106 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.763e-05/0.8983, allocations: 115.9 kB / 1.107 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8983, allocations: 0 / 1.107 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002886/0.8986, allocations: 31.94 kB / 1.107 GB, free: 4.031 MB / 0.8575 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.0001842/0.8987, allocations: 111.2 kB / 1.107 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000564/0.8993, allocations: 147.8 kB / 1.107 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8993, allocations: 0 / 1.107 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.8996, allocations: 79.94 kB / 1.107 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.9, allocations: 23.97 kB / 1.107 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006539/0.9006, allocations: 291.1 kB / 1.107 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.901, allocations: 0.7121 MB / 1.108 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.901, allocations: 19.42 kB / 1.108 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.901, allocations: 0 / 1.108 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of Templates: time 0.003872/0.9049, allocations: 1.711 MB / 1.11 GB, free: 0.8906 MB / 0.8575 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/jenkins1/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