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.00123/0.00123, allocations: 115.2 kB / 16.37 MB, free: 6.016 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.001334/0.001334, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.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.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 65.11 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2666, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00272/0.2694, allocations: 1.649 MB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6148/0.8842, allocations: 151.5 MB / 1.101 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.8843, allocations: 3.156 kB / 1.101 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.8845, allocations: 20.7 kB / 1.101 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.8848, allocations: 40.06 kB / 1.101 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.8851, allocations: 149.1 kB / 1.101 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.8853, allocations: 124.9 kB / 1.101 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.8854, allocations: 34.38 kB / 1.101 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.8865, allocations: 177 kB / 1.101 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.8865, allocations: 45.22 kB / 1.101 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.8866, allocations: 8.031 kB / 1.101 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.8869, allocations: 179.6 kB / 1.101 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.887, allocations: 26.06 kB / 1.101 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.8871, allocations: 43.03 kB / 1.102 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.8874, allocations: 188.4 kB / 1.102 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8874, allocations: 0.7188 kB / 1.102 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8874, allocations: 0.6562 kB / 1.102 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8874, allocations: 4.562 kB / 1.102 GB, free: 5.902 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.0007163/0.8882, allocations: 448.7 kB / 1.102 GB, free: 21.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.8882, allocations: 9.344 kB / 1.102 GB, free: 21.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009689/0.8892, allocations: 82.42 kB / 1.102 GB, free: 21.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.8894, allocations: 205.8 kB / 1.102 GB, free: 21.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.8895, allocations: 10.12 kB / 1.102 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.8895, allocations: 9.156 kB / 1.102 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.8899, allocations: 135.6 kB / 1.103 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.89, allocations: 0 / 1.103 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.89, allocations: 3.906 kB / 1.103 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.89, allocations: 5.906 kB / 1.103 GB, free: 21.24 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.8905, allocations: 138.2 kB / 1.103 GB, free: 21.24 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.8913, allocations: 406.4 kB / 1.103 GB, free: 20.96 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.892, allocations: 254.8 kB / 1.103 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.8923, allocations: 78.08 kB / 1.103 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.8923, allocations: 1.734 kB / 1.103 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.8923, allocations: 37.62 kB / 1.103 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.8923, allocations: 1.406 kB / 1.103 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0007565/0.8931, allocations: 207 kB / 1.104 GB, free: 20.75 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.8931, allocations: 54.84 kB / 1.104 GB, free: 20.69 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.8933, allocations: 149.4 kB / 1.104 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.8933, allocations: 33.42 kB / 1.104 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.8934, allocations: 109.8 kB / 1.104 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.8934, allocations: 24.22 kB / 1.104 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.8935, allocations: 22.92 kB / 1.104 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.8936, allocations: 324.2 kB / 1.104 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.8938, allocations: 53.7 kB / 1.104 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.894, allocations: 81.61 kB / 1.104 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.8944, allocations: 122.5 kB / 1.105 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8945, allocations: 1.094 kB / 1.105 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004721/0.8949, allocations: 157 kB / 1.105 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.895, allocations: 8.484 kB / 1.105 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.895, allocations: 0 / 1.105 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.895, allocations: 4.844 kB / 1.105 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.8952, allocations: 30.47 kB / 1.105 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.8952, allocations: 1 kB / 1.105 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.8954, allocations: 22.25 kB / 1.105 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.8954, allocations: 4.297 kB / 1.105 GB, free: 20.03 MB / 0.8731 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.576e-05/0.8955, allocations: 119.7 kB / 1.105 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.8955, allocations: 13.52 kB / 1.105 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.8956, allocations: 22.48 kB / 1.105 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.8956, allocations: 0.9375 kB / 1.105 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8956, allocations: 0 / 1.105 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8956, allocations: 1.5 kB / 1.105 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008047/0.8964, allocations: 466.4 kB / 1.105 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8964, allocations: 1.281 kB / 1.105 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.8966, allocations: 27.3 kB / 1.105 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.8966, allocations: 3.984 kB / 1.105 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.8967, allocations: 4.562 kB / 1.105 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.8967, allocations: 2.266 kB / 1.105 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8967, allocations: 8.594 kB / 1.105 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.8972, allocations: 255.7 kB / 1.106 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.8973, allocations: 86 kB / 1.106 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.8973, allocations: 5 kB / 1.106 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.8975, allocations: 17.55 kB / 1.106 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.8976, allocations: 9.953 kB / 1.106 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.8976, allocations: 3.703 kB / 1.106 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.397e-05/0.8977, allocations: 116.2 kB / 1.106 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8977, allocations: 2.25 kB / 1.106 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002779/0.898, allocations: 27.31 kB / 1.106 GB, free: 19.27 MB / 0.8731 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.0001548/0.8981, allocations: 120 kB / 1.106 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004903/0.8986, allocations: 133.7 kB / 1.106 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8986, allocations: 0 / 1.106 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.8989, allocations: 68.45 kB / 1.106 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.8992, allocations: 34.86 kB / 1.106 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005796/0.8998, allocations: 226.7 kB / 1.106 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.9001, allocations: 0.6992 MB / 1.107 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.9002, allocations: 27.56 kB / 1.107 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.9003, allocations: 19.02 kB / 1.107 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of SimCode: time 1.312e-06/0.9003, allocations: 1.094 kB / 1.107 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of Templates: time 0.005511/0.9058, allocations: 1.938 MB / 1.109 GB, free: 18.19 MB / 0.8731 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 -s gbode -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