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.001713/0.001713, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001974/0.001974, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.472/1.472, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.753/2.753, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.88 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6299/0.6319, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002947/0.6349, allocations: 1.702 MB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1737/0.8086, allocations: 149.4 MB / 1.164 GB, free: 11.1 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.8087, allocations: 4 kB / 1.164 GB, free: 11.1 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.8089, allocations: 11.86 kB / 1.164 GB, free: 11.09 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.8092, allocations: 39.83 kB / 1.164 GB, free: 11.05 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.8096, allocations: 127.5 kB / 1.164 GB, free: 10.92 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.8098, allocations: 127.6 kB / 1.165 GB, free: 10.8 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.8099, allocations: 23.38 kB / 1.165 GB, free: 10.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.8119, allocations: 169.6 kB / 1.165 GB, free: 10.63 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.812, allocations: 47.78 kB / 1.165 GB, free: 10.58 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.812, allocations: 8 kB / 1.165 GB, free: 10.57 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.8124, allocations: 187.6 kB / 1.165 GB, free: 10.39 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.8124, allocations: 27.91 kB / 1.165 GB, free: 10.36 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.8125, allocations: 47.73 kB / 1.165 GB, free: 10.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.8128, allocations: 179.5 kB / 1.165 GB, free: 10.14 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8128, allocations: 0 / 1.165 GB, free: 10.14 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8128, allocations: 0 / 1.165 GB, free: 10.14 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.8128, allocations: 4 kB / 1.165 GB, free: 10.14 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.0006653/0.8135, allocations: 450.9 kB / 1.166 GB, free: 9.648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.8136, allocations: 8.031 kB / 1.166 GB, free: 9.641 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009524/0.8145, allocations: 83.84 kB / 1.166 GB, free: 9.559 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.8147, allocations: 206.8 kB / 1.166 GB, free: 9.316 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.8148, allocations: 4 kB / 1.166 GB, free: 9.312 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.8148, allocations: 15.94 kB / 1.166 GB, free: 9.297 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.8152, allocations: 132.4 kB / 1.166 GB, free: 9.164 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.8153, allocations: 0 / 1.166 GB, free: 9.164 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.8153, allocations: 11.98 kB / 1.166 GB, free: 9.152 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.8153, allocations: 7.938 kB / 1.166 GB, free: 9.145 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005362/0.8158, allocations: 135.8 kB / 1.166 GB, free: 9.012 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008119/0.8167, allocations: 416.2 kB / 1.167 GB, free: 8.555 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.8174, allocations: 255.7 kB / 1.167 GB, free: 8.277 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.8177, allocations: 80.8 kB / 1.167 GB, free: 8.195 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.8177, allocations: 0 / 1.167 GB, free: 8.195 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.8177, allocations: 30.56 kB / 1.167 GB, free: 8.156 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.8177, allocations: 0 / 1.167 GB, free: 8.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0008159/0.8186, allocations: 217.4 kB / 1.167 GB, free: 7.938 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.8186, allocations: 55.41 kB / 1.167 GB, free: 7.871 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.8188, allocations: 146.5 kB / 1.167 GB, free: 7.715 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.8188, allocations: 25.7 kB / 1.167 GB, free: 7.684 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.8189, allocations: 100 kB / 1.168 GB, free: 7.582 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.8189, allocations: 31.78 kB / 1.168 GB, free: 7.551 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.819, allocations: 25.7 kB / 1.168 GB, free: 7.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.8191, allocations: 330.8 kB / 1.168 GB, free: 7.188 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.8194, allocations: 47.95 kB / 1.168 GB, free: 7.141 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.8196, allocations: 78.52 kB / 1.168 GB, free: 7.055 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.8201, allocations: 116.8 kB / 1.168 GB, free: 6.938 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8201, allocations: 0 / 1.168 GB, free: 6.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004961/0.8206, allocations: 165.9 kB / 1.168 GB, free: 6.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.8206, allocations: 5.719 kB / 1.168 GB, free: 6.766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.8206, allocations: 0 / 1.168 GB, free: 6.766 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.8206, allocations: 0 / 1.168 GB, free: 6.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.8209, allocations: 35.95 kB / 1.168 GB, free: 6.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.8209, allocations: 4.062 kB / 1.168 GB, free: 6.727 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.8211, allocations: 23.89 kB / 1.168 GB, free: 6.703 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.8211, allocations: 0 / 1.168 GB, free: 6.703 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 0.0001164/0.8212, allocations: 130.2 kB / 1.168 GB, free: 6.566 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.8213, allocations: 11.91 kB / 1.169 GB, free: 6.555 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.8213, allocations: 16.72 kB / 1.169 GB, free: 6.539 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.8213, allocations: 4 kB / 1.169 GB, free: 6.535 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.8213, allocations: 0 / 1.169 GB, free: 6.535 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8213, allocations: 0 / 1.169 GB, free: 6.535 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008604/0.8222, allocations: 466.2 kB / 1.169 GB, free: 6.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.8222, allocations: 3.938 kB / 1.169 GB, free: 6.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.8224, allocations: 31.91 kB / 1.169 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.8224, allocations: 0 / 1.169 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.8225, allocations: 3.984 kB / 1.169 GB, free: 5.984 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.8225, allocations: 3.938 kB / 1.169 GB, free: 5.98 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8225, allocations: 0 / 1.169 GB, free: 5.98 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.823, allocations: 259.3 kB / 1.169 GB, free: 5.711 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.8231, allocations: 85.02 kB / 1.169 GB, free: 5.609 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.8231, allocations: 0 / 1.169 GB, free: 5.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.8233, allocations: 27.92 kB / 1.169 GB, free: 5.582 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.8233, allocations: 3.984 kB / 1.169 GB, free: 5.578 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.8234, allocations: 4 kB / 1.169 GB, free: 5.574 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9e-05/0.8234, allocations: 118.1 kB / 1.169 GB, free: 5.461 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8235, allocations: 0 / 1.169 GB, free: 5.461 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002741/0.8237, allocations: 35.84 kB / 1.17 GB, free: 5.426 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.000174/0.8239, allocations: 111.2 kB / 1.17 GB, free: 5.309 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005166/0.8244, allocations: 131.8 kB / 1.17 GB, free: 5.18 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8245, allocations: 0 / 1.17 GB, free: 5.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.8247, allocations: 75.88 kB / 1.17 GB, free: 5.105 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.8251, allocations: 30.22 kB / 1.17 GB, free: 5.078 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.8257, allocations: 259.2 kB / 1.17 GB, free: 4.801 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.8261, allocations: 0.7002 MB / 1.171 GB, free: 4.074 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000164/0.8263, allocations: 36.33 kB / 1.171 GB, free: 4.039 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.8263, allocations: 11.44 kB / 1.171 GB, free: 4.027 MB / 0.92 GB Notification: Performance of SimCode: time 2.71e-07/0.8263, allocations: 0 / 1.171 GB, free: 4.027 MB / 0.92 GB Notification: Performance of Templates: time 0.005047/0.8314, allocations: 1.821 MB / 1.173 GB, free: 2.227 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=400 -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