Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001827/0.001827, allocations: 105.1 kB / 16.45 MB, free: 6.453 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.001946/0.001946, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.393/1.393, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.033/3.033, allocations: 0.49 GB / 0.7916 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_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.001915/0.001915, allocations: 76.11 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3262, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005593/0.3318, allocations: 3.804 MB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.000201/0.332, allocations: 151.5 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.332, allocations: 0 / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.3321, allocations: 0 / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.3322, allocations: 23.91 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.3325, allocations: 83.69 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.3326, allocations: 31.86 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.3326, allocations: 4 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.3327, allocations: 19.91 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.3328, allocations: 15.98 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.3328, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005296/0.3333, allocations: 207.7 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.3333, allocations: 7.938 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.3334, allocations: 7.984 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.3335, allocations: 75.78 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3335, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3335, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3335, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 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.0004398/0.334, allocations: 335.4 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.334, allocations: 11.98 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.3341, allocations: 42.69 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.3341, allocations: 0.9375 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3342, allocations: 168.3 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.3343, allocations: 30.27 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.3343, allocations: 4.125 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.3344, allocations: 41.69 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3344, allocations: 0 / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3344, allocations: 4 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.3345, allocations: 11.94 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.018e-05/0.3345, allocations: 11.98 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.3349, allocations: 338 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.06e-05/0.335, allocations: 18.58 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.335, allocations: 8.844 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-05/0.3351, allocations: 85.17 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3351, allocations: 34.56 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3351, allocations: 0 / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001415/0.3353, allocations: 45.58 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3353, allocations: 51.41 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.3354, allocations: 101.8 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3354, allocations: 25.7 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.3355, allocations: 92.08 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.63e-06/0.3355, allocations: 4 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.3355, allocations: 21.78 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3356, allocations: 318.8 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.3356, allocations: 8 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.3357, allocations: 13.72 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.3357, allocations: 21.66 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3357, allocations: 4 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.687e-05/0.3358, allocations: 45.69 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3358, allocations: 4 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3358, allocations: 0 / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.3358, allocations: 0 / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.585e-05/0.3359, allocations: 15.92 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3359, allocations: 0 / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.3359, allocations: 7.953 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.3359, allocations: 0 / 1.327 GB, free: 12.73 MB / 1.029 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 8.227e-05/0.336, allocations: 117.8 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.336, allocations: 0 / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.3361, allocations: 127 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.029e-05/0.3362, allocations: 180.2 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.479e-05/0.3363, allocations: 180.3 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.396e-05/0.3363, allocations: 180.2 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.3366, allocations: 413.2 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.096e-05/0.3366, allocations: 101 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.3367, allocations: 108.9 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.726e-05/0.3368, allocations: 176.3 kB / 1.328 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.668e-05/0.3368, allocations: 184.2 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-05/0.3369, allocations: 180.3 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.345e-05/0.337, allocations: 180.3 kB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.3371, allocations: 307.7 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.3372, allocations: 186 kB / 1.329 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.951e-05/0.3373, allocations: 192.2 kB / 1.33 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.3375, allocations: 113 kB / 1.33 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.3375, allocations: 184.2 kB / 1.33 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.3376, allocations: 101 kB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.718e-05/0.3377, allocations: 87.27 kB / 1.33 GB, free: 9.285 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3377, allocations: 0 / 1.33 GB, free: 9.285 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002525/0.3379, allocations: 19.94 kB / 1.33 GB, free: 9.266 MB / 1.029 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.0004906/0.3384, allocations: 0.8359 MB / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.643e-05/0.3385, allocations: 4 kB / 1.331 GB, free: 8.398 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3385, allocations: 0 / 1.331 GB, free: 8.398 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.779e-06/0.3385, allocations: 3.938 kB / 1.331 GB, free: 8.395 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.3389, allocations: 463.8 kB / 1.331 GB, free: 7.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.34, allocations: 1.317 MB / 1.333 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3402, allocations: 0.6729 MB / 1.333 GB, free: 5.836 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.642e-05/0.3403, allocations: 8 kB / 1.333 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.3403, allocations: 14.67 kB / 1.333 GB, free: 5.816 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3403, allocations: 0 / 1.333 GB, free: 5.816 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.3656, allocations: 1.508 MB / 1.335 GB, free: 4.457 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.043, allocations: 23.67 kB / 1.335 GB, free: 4.438 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.331705847987905]