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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00133/0.00133, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001646/0.001646, allocations: 195.9 kB / 16.14 MB, free: 6.656 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.494/1.494, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.621/2.621, allocations: 390.2 MB / 0.6642 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 0.8118 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9471/0.9485, allocations: 140.4 MB / 0.9489 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003019/0.9516, allocations: 1.699 MB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2035/1.155, allocations: 149.3 MB / 1.096 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/1.155, allocations: 0 / 1.096 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002088/1.156, allocations: 19.86 kB / 1.096 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003626/1.156, allocations: 43.77 kB / 1.096 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/1.157, allocations: 119.6 kB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000228/1.157, allocations: 115.6 kB / 1.097 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/1.157, allocations: 27.38 kB / 1.097 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/1.159, allocations: 156.5 kB / 1.097 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/1.159, allocations: 43.78 kB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/1.159, allocations: 4 kB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004862/1.16, allocations: 179.6 kB / 1.097 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/1.16, allocations: 27.91 kB / 1.097 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.811e-05/1.16, allocations: 43.73 kB / 1.097 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004121/1.16, allocations: 183.5 kB / 1.097 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.16, allocations: 0 / 1.097 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.82e-07/1.16, allocations: 0 / 1.097 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.012e-06/1.16, allocations: 0 / 1.097 GB, free: 9.66 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.0007558/1.161, allocations: 447.8 kB / 1.098 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/1.161, allocations: 8.031 kB / 1.098 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/1.162, allocations: 83.94 kB / 1.098 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/1.163, allocations: 206.7 kB / 1.098 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/1.163, allocations: 8 kB / 1.098 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/1.163, allocations: 8 kB / 1.098 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/1.163, allocations: 137.5 kB / 1.098 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/1.163, allocations: 0 / 1.098 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/1.163, allocations: 0 / 1.098 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/1.163, allocations: 3.938 kB / 1.098 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000553/1.164, allocations: 143.8 kB / 1.098 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000876/1.165, allocations: 408.4 kB / 1.099 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007581/1.165, allocations: 247.7 kB / 1.099 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/1.166, allocations: 80.78 kB / 1.099 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/1.166, allocations: 7.984 kB / 1.099 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/1.166, allocations: 34.56 kB / 1.099 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/1.166, allocations: 0 / 1.099 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0008085/1.166, allocations: 221.4 kB / 1.099 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/1.167, allocations: 55.34 kB / 1.099 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/1.167, allocations: 140.1 kB / 1.099 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/1.167, allocations: 29.7 kB / 1.099 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/1.167, allocations: 108 kB / 1.1 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/1.167, allocations: 27.78 kB / 1.1 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/1.167, allocations: 21.7 kB / 1.1 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.167, allocations: 326.8 kB / 1.1 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/1.167, allocations: 51.94 kB / 1.1 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/1.168, allocations: 74.52 kB / 1.1 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/1.168, allocations: 116.8 kB / 1.1 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.168, allocations: 0 / 1.1 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004999/1.168, allocations: 169.4 kB / 1.1 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.168, allocations: 5.406 kB / 1.1 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.169, allocations: 3.938 kB / 1.1 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.169, allocations: 4 kB / 1.1 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/1.169, allocations: 23.97 kB / 1.1 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.169, allocations: 4 kB / 1.1 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/1.169, allocations: 27.88 kB / 1.1 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/1.169, allocations: 4 kB / 1.1 GB, free: 6.238 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.0001091/1.169, allocations: 121.7 kB / 1.1 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/1.169, allocations: 11.89 kB / 1.1 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/1.169, allocations: 16.72 kB / 1.1 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/1.169, allocations: 0 / 1.1 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.169, allocations: 4 kB / 1.1 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.169, allocations: 0 / 1.1 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008687/1.17, allocations: 462.8 kB / 1.101 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.17, allocations: 0 / 1.101 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/1.17, allocations: 39.97 kB / 1.101 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/1.17, allocations: 0 / 1.101 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/1.17, allocations: 3.984 kB / 1.101 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.17, allocations: 3.938 kB / 1.101 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.17, allocations: 4 kB / 1.101 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/1.171, allocations: 263.3 kB / 1.101 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/1.171, allocations: 81.02 kB / 1.101 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/1.171, allocations: 4 kB / 1.101 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/1.171, allocations: 19.86 kB / 1.101 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/1.171, allocations: 11.98 kB / 1.101 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/1.171, allocations: 4 kB / 1.101 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.493e-05/1.171, allocations: 116.7 kB / 1.101 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.171, allocations: 0 / 1.101 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002779/1.172, allocations: 35.94 kB / 1.101 GB, free: 4.961 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.0001948/1.172, allocations: 110.5 kB / 1.102 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004963/1.172, allocations: 131.8 kB / 1.102 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.172, allocations: 0 / 1.102 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/1.173, allocations: 59.95 kB / 1.102 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/1.173, allocations: 41.97 kB / 1.102 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/1.174, allocations: 264.5 kB / 1.102 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/1.174, allocations: 0.7004 MB / 1.103 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000172/1.174, allocations: 32.39 kB / 1.103 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/1.174, allocations: 15.44 kB / 1.103 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/1.174, allocations: 0 / 1.103 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of Templates: time 0.005352/1.18, allocations: 1.75 MB / 1.105 GB, free: 1.832 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/jenkins/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