Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.001074/0.001074, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.466/2.466, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 67.89 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6243/0.6267, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005607/0.6323, allocations: 3.729 MB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001865/0.6325, allocations: 155.5 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.014e-05/0.6326, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.45e-05/0.6326, allocations: 3.938 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.6327, allocations: 7.922 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.6331, allocations: 87.62 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.688e-05/0.6332, allocations: 35.84 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.6332, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.167e-05/0.6333, allocations: 19.97 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.6333, allocations: 11.94 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.6333, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.6339, allocations: 187.4 kB / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.879e-05/0.6339, allocations: 8 kB / 1.022 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.634, allocations: 15.86 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.6341, allocations: 50.2 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.6341, allocations: 0 / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.836e-06/0.6341, allocations: 0 / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.6341, allocations: 3.938 kB / 1.022 GB, free: 14.19 MB / 0.7794 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.0003597/0.6345, allocations: 331.5 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.6346, allocations: 8.031 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.6346, allocations: 34.75 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.6346, allocations: 0.9375 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.6348, allocations: 164.3 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/0.6348, allocations: 42.19 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.6349, allocations: 4.125 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.635, allocations: 41.69 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.635, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.635, allocations: 7.984 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.635, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.418e-05/0.6351, allocations: 19.92 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.6355, allocations: 338 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.345e-05/0.6356, allocations: 18.58 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.6356, allocations: 8.922 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.181e-05/0.6357, allocations: 81.11 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.6357, allocations: 34.56 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.6357, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.6359, allocations: 45.62 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.6359, allocations: 55.53 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.543e-05/0.636, allocations: 101.8 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.636, allocations: 25.7 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.6361, allocations: 88.05 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.222e-06/0.6361, allocations: 3.938 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.6361, allocations: 17.62 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6363, allocations: 322.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.6363, allocations: 4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.6363, allocations: 17.72 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.609e-05/0.6363, allocations: 25.66 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6364, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.909e-05/0.6364, allocations: 45.69 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.6365, allocations: 7.938 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.6365, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6365, allocations: 8.062 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.346e-05/0.6365, allocations: 7.984 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.6365, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.6366, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.6366, allocations: 7.938 kB / 1.023 GB, free: 12.03 MB / 0.7794 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 7.406e-05/0.6367, allocations: 109.8 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.6367, allocations: 4 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.6368, allocations: 121 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.593e-05/0.6369, allocations: 188.1 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.762e-05/0.6369, allocations: 176.3 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.949e-05/0.637, allocations: 184.2 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.6372, allocations: 409.2 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.621e-05/0.6373, allocations: 108.9 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.6373, allocations: 109 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.674e-05/0.6374, allocations: 180.3 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.566e-05/0.6374, allocations: 184.2 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.719e-05/0.6375, allocations: 176.3 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.222e-05/0.6375, allocations: 180.2 kB / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.6377, allocations: 315.8 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.6377, allocations: 185.9 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.6378, allocations: 176.3 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.638, allocations: 112.9 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.638, allocations: 180.3 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.6381, allocations: 101 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.687e-05/0.6381, allocations: 95.27 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6381, allocations: 0 / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002452/0.6384, allocations: 15.94 kB / 1.027 GB, free: 8.566 MB / 0.7794 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.0004684/0.6389, allocations: 0.8321 MB / 1.027 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.6e-05/0.6389, allocations: 8 kB / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6389, allocations: 0 / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.6389, allocations: 3.938 kB / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.6393, allocations: 468.4 kB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/0.6403, allocations: 1.317 MB / 1.029 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.6405, allocations: 0.6768 MB / 1.03 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.6405, allocations: 12.03 kB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.6406, allocations: 7.438 kB / 1.03 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6406, allocations: 0 / 1.03 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2143/0.8549, allocations: 1.498 MB / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.732/9.587, allocations: 17.41 kB / 1.031 GB, free: 3.727 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches