Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.001477/0.001477, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001666/0.001666, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.204/2.204, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4727, allocations: 140.4 MB / 0.949 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004799/0.4775, allocations: 3.788 MB / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001422/0.4777, allocations: 158.4 kB / 0.9529 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.237e-05/0.4777, allocations: 1.562 kB / 0.9529 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.299e-05/0.4778, allocations: 0 / 0.9529 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.495e-05/0.4779, allocations: 14.38 kB / 0.9529 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.4781, allocations: 83.16 kB / 0.953 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.4782, allocations: 62.62 kB / 0.953 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.4782, allocations: 0.8438 kB / 0.953 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.085e-05/0.4783, allocations: 12.8 kB / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.938e-05/0.4783, allocations: 18.27 kB / 0.9531 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.4783, allocations: 1.562 kB / 0.9531 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.4788, allocations: 190.9 kB / 0.9532 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.4788, allocations: 6.234 kB / 0.9533 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.4788, allocations: 12.14 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.4789, allocations: 51.17 kB / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.4789, allocations: 0 / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.11e-07/0.4789, allocations: 0 / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.479, allocations: 1.094 kB / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000233/0.4792, allocations: 332.4 kB / 0.9536 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.4792, allocations: 8.938 kB / 0.9536 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.102e-05/0.4793, allocations: 35.77 kB / 0.9537 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.4793, allocations: 2.188 kB / 0.9537 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.859e-05/0.4793, allocations: 169.7 kB / 0.9538 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.4794, allocations: 39.58 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.4794, allocations: 5.562 kB / 0.9539 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.928e-05/0.4795, allocations: 38.56 kB / 0.9539 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.4795, allocations: 3.938 kB / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.4795, allocations: 0 / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.4795, allocations: 1.656 kB / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.4796, allocations: 17.17 kB / 0.9539 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.4799, allocations: 337.8 kB / 0.9543 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.376e-05/0.4799, allocations: 19.59 kB / 0.9543 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.032e-05/0.4799, allocations: 6.109 kB / 0.9543 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.562e-05/0.48, allocations: 87.38 kB / 0.9544 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.48, allocations: 34.5 kB / 0.9544 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.48, allocations: 1.344 kB / 0.9544 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.91e-05/0.4801, allocations: 39.39 kB / 0.9544 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.621e-05/0.4801, allocations: 51.41 kB / 0.9545 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.193e-05/0.4802, allocations: 104.6 kB / 0.9546 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.4802, allocations: 25.7 kB / 0.9546 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.909e-05/0.4802, allocations: 85.64 kB / 0.9547 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.219e-06/0.4802, allocations: 9.312 kB / 0.9547 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.4802, allocations: 20.45 kB / 0.9547 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.921e-05/0.4803, allocations: 316.1 kB / 0.955 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.4803, allocations: 6.344 kB / 0.955 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.4803, allocations: 25.55 kB / 0.9551 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.409e-05/0.4803, allocations: 19.69 kB / 0.9551 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4803, allocations: 1.25 kB / 0.9551 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.857e-05/0.4804, allocations: 50.72 kB / 0.9551 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.4804, allocations: 6.75 kB / 0.9551 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.4804, allocations: 4.062 kB / 0.9551 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.4804, allocations: 1.219 kB / 0.9551 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.355e-05/0.4805, allocations: 5.156 kB / 0.9551 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.4805, allocations: 1.25 kB / 0.9551 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.4805, allocations: 0 / 0.9551 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.4805, allocations: 2.5 kB / 0.9551 GB, free: 3.578 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 3.68e-05/0.4806, allocations: 115.1 kB / 0.9553 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.4806, allocations: 6.422 kB / 0.9553 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.254e-05/0.4807, allocations: 119.4 kB / 0.9554 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.4807, allocations: 181.5 kB / 0.9555 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.4807, allocations: 185.7 kB / 0.9557 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.4807, allocations: 180.3 kB / 0.9559 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.4808, allocations: 404.7 kB / 0.9563 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.4808, allocations: 110.2 kB / 0.9564 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.4809, allocations: 112.9 kB / 0.9565 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-05/0.4809, allocations: 181.5 kB / 0.9567 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.4809, allocations: 177.3 kB / 0.9568 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/0.4809, allocations: 185.9 kB / 0.957 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.534e-05/0.4809, allocations: 180.2 kB / 0.9572 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.958e-05/0.481, allocations: 316.9 kB / 0.9575 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.481, allocations: 183.3 kB / 0.9577 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.4811, allocations: 177.5 kB / 0.9578 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4812, allocations: 111.2 kB / 0.9579 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.4812, allocations: 185.6 kB / 0.9581 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.4812, allocations: 110.3 kB / 0.9582 GB, free: 240 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.343e-05/0.4812, allocations: 79.38 kB / 0.9583 GB, free: 164 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4812, allocations: 1.125 kB / 0.9583 GB, free: 164 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002235/0.4815, allocations: 19.72 kB / 0.9583 GB, free: 156 kB / 0.7169 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 (0): * Single equations (assignments): 0 * 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.0003861/0.4819, allocations: 0.8305 MB / 0.9591 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.272e-05/0.4819, allocations: 14.28 kB / 0.9591 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4819, allocations: 1.562 kB / 0.9591 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.4819, allocations: 0 / 0.9591 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.4823, allocations: 0.5263 MB / 0.9597 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008569/0.4832, allocations: 1.316 MB / 0.9609 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.4834, allocations: 0.6754 MB / 0.9616 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.916e-05/0.4834, allocations: 12.47 kB / 0.9616 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.4835, allocations: 12.72 kB / 0.9616 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.4835, allocations: 3.938 kB / 0.9616 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1796/0.6631, allocations: 1.385 MB / 0.963 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.6633, allocations: 228.2 kB / 0.9632 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.49, allocations: 1.188 kB / 0.9632 GB, free: 11.79 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches