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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007204/0.007204, allocations: 95.36 kB / 15.73 MB, free: 6.039 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.001883/0.001883, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.315/2.315, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 62.69 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2536, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003446/0.257, allocations: 1.63 MB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1636/0.4207, allocations: 151.6 MB / 1.237 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.4208, allocations: 4 kB / 1.237 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.421, allocations: 15.8 kB / 1.237 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.4212, allocations: 43.72 kB / 1.237 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.4217, allocations: 151.4 kB / 1.237 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000177/0.4219, allocations: 123.6 kB / 1.237 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.422, allocations: 29.61 kB / 1.237 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.4232, allocations: 175.3 kB / 1.238 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.4233, allocations: 43.78 kB / 1.238 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.4233, allocations: 8 kB / 1.238 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.4237, allocations: 175.7 kB / 1.238 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.4237, allocations: 27.92 kB / 1.238 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.4238, allocations: 47.72 kB / 1.238 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.4242, allocations: 187.3 kB / 1.238 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4242, allocations: 4 kB / 1.238 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4242, allocations: 0 / 1.238 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.4242, allocations: 4 kB / 1.238 GB, free: 7.23 MB / 0.9981 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.0006156/0.4248, allocations: 450.6 kB / 1.238 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.4249, allocations: 8.031 kB / 1.238 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.4249, allocations: 38.75 kB / 1.239 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/0.4258, allocations: 87.73 kB / 1.239 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.4261, allocations: 206.9 kB / 1.239 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.4261, allocations: 8 kB / 1.239 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.4261, allocations: 8 kB / 1.239 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.4266, allocations: 137.5 kB / 1.239 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4266, allocations: 3.938 kB / 1.239 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.4266, allocations: 7.938 kB / 1.239 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4266, allocations: 0 / 1.239 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.4272, allocations: 143.8 kB / 1.239 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.4279, allocations: 400.6 kB / 1.239 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.4287, allocations: 255.7 kB / 1.24 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.429, allocations: 76.8 kB / 1.24 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.429, allocations: 0 / 1.24 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.429, allocations: 30.56 kB / 1.24 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.429, allocations: 0 / 1.24 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0008226/0.4299, allocations: 217.4 kB / 1.24 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.4299, allocations: 51.41 kB / 1.24 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.43, allocations: 155.9 kB / 1.24 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.4301, allocations: 25.7 kB / 1.24 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.4301, allocations: 108.2 kB / 1.24 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.4302, allocations: 31.69 kB / 1.24 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.4303, allocations: 25.7 kB / 1.24 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4304, allocations: 326.8 kB / 1.241 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.4306, allocations: 55.95 kB / 1.241 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.4309, allocations: 74.52 kB / 1.241 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.4313, allocations: 125.2 kB / 1.241 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4313, allocations: 0 / 1.241 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005074/0.4318, allocations: 165.5 kB / 1.241 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4319, allocations: 11.98 kB / 1.241 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4319, allocations: 0 / 1.241 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.4319, allocations: 0 / 1.241 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.4321, allocations: 31.97 kB / 1.241 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4321, allocations: 0 / 1.241 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.4323, allocations: 19.98 kB / 1.241 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.4323, allocations: 7.922 kB / 1.241 GB, free: 3.742 MB / 0.9981 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.633e-05/0.4324, allocations: 121.8 kB / 1.241 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.4324, allocations: 11.91 kB / 1.241 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.328e-05/0.4325, allocations: 16.72 kB / 1.241 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.4325, allocations: 4 kB / 1.241 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4325, allocations: 0 / 1.241 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4325, allocations: 3.984 kB / 1.241 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008162/0.4334, allocations: 458.3 kB / 1.242 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4334, allocations: 0 / 1.242 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.4336, allocations: 35.83 kB / 1.242 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4336, allocations: 4 kB / 1.242 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.4336, allocations: 4 kB / 1.242 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4336, allocations: 7.938 kB / 1.242 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4336, allocations: 0 / 1.242 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.4341, allocations: 251.3 kB / 1.242 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.4342, allocations: 93 kB / 1.242 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.4342, allocations: 4 kB / 1.242 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.4344, allocations: 19.91 kB / 1.242 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.4345, allocations: 8 kB / 1.242 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.4345, allocations: 7.984 kB / 1.242 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.948e-05/0.4346, allocations: 104.9 kB / 1.242 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4346, allocations: 3.938 kB / 1.242 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002842/0.4349, allocations: 31.94 kB / 1.242 GB, free: 2.477 MB / 0.9981 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.0008505/0.4357, allocations: 0.806 MB / 1.243 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004955/0.4362, allocations: 119.9 kB / 1.243 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4362, allocations: 3.938 kB / 1.243 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.4365, allocations: 67.94 kB / 1.243 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.4368, allocations: 42.41 kB / 1.243 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.4394, allocations: 1.739 MB / 1.245 GB, free: 15.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.4397, allocations: 0.6963 MB / 1.246 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.4398, allocations: 28.41 kB / 1.246 GB, free: 14.85 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.4399, allocations: 35.42 kB / 1.246 GB, free: 14.82 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/0.4399, allocations: 0 / 1.246 GB, free: 14.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.4592, allocations: 3.355 MB / 1.249 GB, free: 11.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.849, allocations: 13.8 kB / 1.249 GB, free: 11.58 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv","/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