Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 210.5 kB / 22.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.359/1.359, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.04/3.04, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 65.34 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005319/0.3241, allocations: 3.636 MB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001996/0.3243, allocations: 143.5 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.3243, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.624e-05/0.3244, allocations: 3.938 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.819e-05/0.3245, allocations: 19.91 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.3248, allocations: 83.69 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.787e-05/0.3249, allocations: 35.86 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.3249, allocations: 7.984 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.338e-05/0.3249, allocations: 11.98 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.325, allocations: 11.92 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.325, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005533/0.3256, allocations: 211.6 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.3256, allocations: 11.97 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.3256, allocations: 4 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.3258, allocations: 59.81 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3258, allocations: 4 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3258, allocations: 0 / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.3258, allocations: 0 / 1.367 GB, free: 9.82 MB / 1.061 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.0003416/0.3261, allocations: 254.3 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3262, allocations: 12.03 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.3262, allocations: 38.73 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.3262, allocations: 0.9375 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3263, allocations: 114.4 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/0.3264, allocations: 55.91 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.3264, allocations: 4.125 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3265, allocations: 83.31 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.3265, allocations: 0 / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.3266, allocations: 0 / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.3266, allocations: 0 / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.89e-05/0.3266, allocations: 15.98 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.327, allocations: 228 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.901e-05/0.327, allocations: 18.58 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.304e-05/0.327, allocations: 8.859 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.815e-05/0.3271, allocations: 15.94 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.3271, allocations: 30.56 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3271, allocations: 4 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001249/0.3272, allocations: 37.69 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.3273, allocations: 51.41 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.3274, allocations: 101.9 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3274, allocations: 25.7 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.3274, allocations: 92.08 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.551e-06/0.3275, allocations: 3.953 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.3275, allocations: 13.72 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3276, allocations: 318.8 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.3276, allocations: 7.984 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.3277, allocations: 25.95 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.3277, allocations: 21.72 kB / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3277, allocations: 0 / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.408e-05/0.3278, allocations: 49.62 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3278, allocations: 9.875 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.3278, allocations: 0 / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3278, allocations: 0 / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.83e-05/0.3278, allocations: 4 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.3279, allocations: 12.05 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.3279, allocations: 4 kB / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.3279, allocations: 0 / 1.369 GB, free: 7.973 MB / 1.061 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.737e-05/0.328, allocations: 117.7 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.328, allocations: 0 / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.3281, allocations: 128.9 kB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.129e-05/0.3282, allocations: 176.3 kB / 1.369 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.997e-05/0.3282, allocations: 184.2 kB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.736e-05/0.3283, allocations: 176.3 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.3286, allocations: 388.2 kB / 1.37 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.232e-05/0.3286, allocations: 104.9 kB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.921e-05/0.3287, allocations: 105 kB / 1.37 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.068e-05/0.3287, allocations: 184.1 kB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.819e-05/0.3288, allocations: 176.3 kB / 1.371 GB, free: 6.152 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.454e-05/0.3289, allocations: 188.2 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.669e-05/0.329, allocations: 184.1 kB / 1.371 GB, free: 5.773 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.3291, allocations: 307.7 kB / 1.371 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.3292, allocations: 109 kB / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.3293, allocations: 180.3 kB / 1.372 GB, free: 5.152 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3294, allocations: 104.9 kB / 1.372 GB, free: 5.043 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.3295, allocations: 184.3 kB / 1.372 GB, free: 4.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/0.3295, allocations: 108.9 kB / 1.372 GB, free: 4.742 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.3296, allocations: 83.28 kB / 1.372 GB, free: 4.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3296, allocations: 0 / 1.372 GB, free: 4.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002443/0.3298, allocations: 19.88 kB / 1.372 GB, free: 4.641 MB / 1.061 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.0004552/0.3303, allocations: 0.8205 MB / 1.373 GB, free: 3.793 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.204e-05/0.3303, allocations: 11.94 kB / 1.373 GB, free: 3.781 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3304, allocations: 0 / 1.373 GB, free: 3.781 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.3304, allocations: 128 / 1.373 GB, free: 3.781 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.3308, allocations: 467.7 kB / 1.373 GB, free: 3.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3318, allocations: 1.325 MB / 1.375 GB, free: 1.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.111e-05/0.3319, allocations: 59.34 kB / 1.375 GB, free: 1.832 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.3319, allocations: 10.19 kB / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.332, allocations: 11.44 kB / 1.375 GB, free: 1.812 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.332, allocations: 4 kB / 1.375 GB, free: 1.809 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.3603, allocations: 2.031 MB / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.76, allocations: 1.188 kB / 1.377 GB, free: 15.91 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.011791137047112]