Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001724/0.001724, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002178/0.002178, allocations: 216.4 kB / 22.24 MB, free: 5.258 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.428/1.428, 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 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.024/3.024, allocations: 0.49 GB / 0.7951 GB, free: 35.56 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.001932/0.001932, allocations: 75.42 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3237, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006399/0.3301, allocations: 3.918 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002404/0.3304, allocations: 143.6 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.3304, allocations: 8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.3305, allocations: 11.92 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.488e-05/0.3306, allocations: 3.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.3311, allocations: 87.73 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.3312, allocations: 35.78 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.3312, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.23e-05/0.3313, allocations: 19.98 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3314, allocations: 11.98 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.3314, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.3316, allocations: 55.8 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.487e-05/0.3317, allocations: 11.92 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.3317, allocations: 4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.3319, allocations: 64.03 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3319, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3319, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.3319, allocations: 0 / 1.33 GB, free: 13.12 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.0004273/0.3323, allocations: 264 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.3324, allocations: 20.02 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.3324, allocations: 38.73 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.3324, allocations: 0.9375 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3326, allocations: 106.5 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.3327, allocations: 51.97 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.3327, allocations: 4.125 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3328, allocations: 71.39 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3328, allocations: 3.938 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3328, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.3329, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.3329, allocations: 19.98 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.3333, allocations: 231.9 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.559e-05/0.3334, allocations: 18.58 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.3334, allocations: 4.859 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-05/0.3334, allocations: 8.062 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3335, allocations: 34.5 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.3335, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.3336, allocations: 41.64 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.3337, allocations: 51.53 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.814e-05/0.3337, allocations: 105.9 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3338, allocations: 25.7 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.3338, allocations: 88.08 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-06/0.3338, allocations: 4 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.3339, allocations: 13.72 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.334, allocations: 318.8 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.334, allocations: 7.984 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.3341, allocations: 17.66 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.498e-05/0.3341, allocations: 21.72 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3341, allocations: 7.938 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.667e-05/0.3342, allocations: 45.62 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3342, allocations: 8 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3342, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3342, allocations: 4.281 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.604e-05/0.3343, allocations: 8 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3343, allocations: 3.984 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.3343, allocations: 7.953 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.3343, allocations: 0 / 1.332 GB, free: 11.28 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.014e-05/0.3344, allocations: 118.4 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.3344, allocations: 3.984 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.3346, allocations: 124.9 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.737e-05/0.3346, allocations: 176.3 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.583e-05/0.3347, allocations: 188.1 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.069e-05/0.3348, allocations: 176.3 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.3351, allocations: 380.2 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.934e-05/0.3351, allocations: 104.9 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.821e-05/0.3352, allocations: 105 kB / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.387e-05/0.3352, allocations: 184.2 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.802e-05/0.3353, allocations: 180.3 kB / 1.333 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.711e-05/0.3354, allocations: 188.2 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.702e-05/0.3355, allocations: 180.2 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.3356, allocations: 303.7 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.3357, allocations: 113 kB / 1.334 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.023e-05/0.3358, allocations: 176.3 kB / 1.334 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.3359, allocations: 108.9 kB / 1.334 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.336, allocations: 184.2 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.3361, allocations: 104.9 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.772e-05/0.3361, allocations: 83.28 kB / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3361, allocations: 4 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002511/0.3364, allocations: 19.88 kB / 1.335 GB, free: 7.945 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.0004959/0.3369, allocations: 0.8243 MB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.032e-05/0.3369, allocations: 11.94 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3369, allocations: 0 / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.3369, allocations: 3.938 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.3374, allocations: 463.7 kB / 1.336 GB, free: 6.617 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.3386, allocations: 1.333 MB / 1.337 GB, free: 5.199 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.924e-05/0.3386, allocations: 59.34 kB / 1.337 GB, free: 5.121 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.3386, allocations: 4 kB / 1.337 GB, free: 5.117 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.3387, allocations: 11.44 kB / 1.337 GB, free: 5.105 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3387, allocations: 3.938 kB / 1.337 GB, free: 5.102 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.3679, allocations: 2.051 MB / 1.339 GB, free: 3.184 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.82, allocations: 6.422 kB / 1.339 GB, free: 3.18 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_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_WaterTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.289805320004234]