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.008736/0.008736, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001569/0.001569, allocations: 197 kB / 16.67 MB, free: 5.973 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.697/2.697, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3305, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005591/0.3362, allocations: 3.733 MB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002124/0.3364, allocations: 163.5 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.3364, allocations: 0 / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.967e-05/0.3365, allocations: 0 / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.3366, allocations: 15.88 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.337, allocations: 91.67 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.583e-05/0.3371, allocations: 27.91 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.3371, allocations: 8 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.33e-05/0.3372, allocations: 15.94 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.3372, allocations: 11.97 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3373, allocations: 7.938 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005121/0.3378, allocations: 179.4 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.3378, allocations: 7.984 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.3379, allocations: 8 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.338, allocations: 52.11 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.338, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.366e-06/0.338, allocations: 4 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.338, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 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.000426/0.3385, allocations: 331.5 kB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3385, allocations: 8.031 kB / 1.171 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.3386, allocations: 34.73 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.3386, allocations: 4.938 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3387, allocations: 160.4 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.3388, allocations: 30.27 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.3388, allocations: 12.06 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.339, allocations: 41.69 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.339, allocations: 0 / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.339, allocations: 3.938 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.339, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.715e-05/0.3391, allocations: 19.98 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.3395, allocations: 341.9 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.3396, allocations: 22.52 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.3396, allocations: 4.859 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.579e-05/0.3397, allocations: 89.16 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3398, allocations: 34.55 kB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3398, allocations: 0 / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000148/0.3399, allocations: 33.7 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.34, allocations: 59.53 kB / 1.172 GB, free: 1.566 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.3401, allocations: 105.7 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3401, allocations: 25.7 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.3402, allocations: 92.09 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/0.3402, allocations: 3.984 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.3402, allocations: 21.66 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3404, allocations: 318.8 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.3404, allocations: 4 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.3404, allocations: 21.7 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.3405, allocations: 17.72 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3405, allocations: 0 / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.638e-05/0.3406, allocations: 53.62 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.3406, allocations: 4 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3406, allocations: 0 / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3406, allocations: 4.062 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.432e-05/0.3407, allocations: 4 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3407, allocations: 4 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.3407, allocations: 0 / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3407, allocations: 0 / 1.172 GB, free: 0.8477 MB / 0.92 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 9.919e-05/0.3408, allocations: 121.7 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.3408, allocations: 0 / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.341, allocations: 128.8 kB / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-05/0.3411, allocations: 176.3 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.67e-05/0.3412, allocations: 188.2 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-05/0.3413, allocations: 176.3 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.3416, allocations: 413.1 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-05/0.3416, allocations: 101 kB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.011e-05/0.3417, allocations: 109 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.543e-05/0.3418, allocations: 180.2 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.022e-05/0.3419, allocations: 184.3 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.228e-05/0.342, allocations: 184.2 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001002/0.3421, allocations: 176.3 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.3423, allocations: 319.6 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3424, allocations: 182.1 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.3425, allocations: 184.2 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.3427, allocations: 101 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/0.3428, allocations: 192.2 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.3428, allocations: 108.9 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.703e-05/0.3429, allocations: 83.28 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3429, allocations: 0 / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002676/0.3432, allocations: 19.88 kB / 1.175 GB, free: 13.38 MB / 0.9356 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.0006358/0.3438, allocations: 0.836 MB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.026e-05/0.3439, allocations: 8 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3439, allocations: 0 / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.3439, allocations: 0 / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.3444, allocations: 466 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.3455, allocations: 1.313 MB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3458, allocations: 0.6729 MB / 1.179 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.282e-05/0.3459, allocations: 7.984 kB / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.3459, allocations: 19.44 kB / 1.179 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3459, allocations: 0 / 1.179 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.3692, allocations: 1.52 MB / 1.18 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.122, allocations: 9.875 kB / 1.18 GB, free: 8.539 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/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