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.001297/0.001297, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.001441/0.001441, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.44/1.44, 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.061/3.061, allocations: 0.49 GB / 0.7916 GB, free: 33.42 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.001954/0.001954, allocations: 74.66 kB / 1.149 GB, free: 26.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3181, allocations: 176.1 MB / 1.321 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006319/0.3244, allocations: 4.102 MB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002205/0.3246, allocations: 163.5 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.3246, allocations: 7.938 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3247, allocations: 3.984 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.3248, allocations: 7.922 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.3251, allocations: 79.75 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.893e-05/0.3252, allocations: 43.83 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.3253, allocations: 0 / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.3254, allocations: 16 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.3254, allocations: 19.84 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.3255, allocations: 0 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.3257, allocations: 75.78 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.3257, allocations: 7.984 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.3257, allocations: 7.938 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.3259, allocations: 68.12 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3259, allocations: 4 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3259, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3259, allocations: 0 / 1.325 GB, free: 14.88 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.0004193/0.3263, allocations: 335.4 kB / 1.326 GB, free: 14.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3263, allocations: 11.98 kB / 1.326 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.3264, allocations: 38.75 kB / 1.326 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.3264, allocations: 4.922 kB / 1.326 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.3266, allocations: 160.4 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.94e-05/0.3266, allocations: 34.2 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.3266, allocations: 8.062 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.3268, allocations: 41.69 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3268, allocations: 0 / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.3268, allocations: 4 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.3268, allocations: 4 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.756e-05/0.3268, allocations: 11.98 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.3273, allocations: 334 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 3.99e-05/0.3273, allocations: 18.52 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.3273, allocations: 8.859 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.389e-05/0.3274, allocations: 93.16 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.3275, allocations: 30.56 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3275, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001353/0.3276, allocations: 37.66 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.3276, allocations: 55.34 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.3277, allocations: 113.7 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3278, allocations: 25.7 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.3278, allocations: 96.2 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/0.3278, allocations: 0 / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.3279, allocations: 21.7 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.328, allocations: 314.8 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.328, allocations: 4 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.328, allocations: 17.72 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/0.3281, allocations: 21.7 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3281, allocations: 0 / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.302e-05/0.3282, allocations: 53.62 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3282, allocations: 4 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3282, allocations: 4 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3282, allocations: 0 / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.406e-05/0.3282, allocations: 8 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3282, allocations: 0 / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.3283, allocations: 3.953 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3283, allocations: 8.062 kB / 1.327 GB, free: 12.71 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.016e-05/0.3284, allocations: 117.7 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.3284, allocations: 0 / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.3285, allocations: 117 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.408e-05/0.3286, allocations: 180.3 kB / 1.328 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.53e-05/0.3286, allocations: 188.1 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.17e-05/0.3287, allocations: 188.2 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.329, allocations: 413.1 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.333e-05/0.329, allocations: 101 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.243e-05/0.3291, allocations: 104.9 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.906e-05/0.3292, allocations: 176.3 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.411e-05/0.3293, allocations: 184.3 kB / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.867e-05/0.3293, allocations: 180.2 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-05/0.3294, allocations: 180.2 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.3296, allocations: 307.7 kB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.3297, allocations: 182.1 kB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/0.3298, allocations: 192.2 kB / 1.33 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.3299, allocations: 105 kB / 1.33 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.33, allocations: 180.2 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.3301, allocations: 101 kB / 1.33 GB, free: 9.359 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.696e-05/0.3301, allocations: 87.27 kB / 1.33 GB, free: 9.273 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3301, allocations: 0 / 1.33 GB, free: 9.273 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002426/0.3304, allocations: 27.88 kB / 1.33 GB, free: 9.246 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.0005176/0.3309, allocations: 0.832 MB / 1.331 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.099e-05/0.3309, allocations: 8 kB / 1.331 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3309, allocations: 128 / 1.331 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.3309, allocations: 4 kB / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.3314, allocations: 459.9 kB / 1.332 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3326, allocations: 1.328 MB / 1.333 GB, free: 6.504 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3329, allocations: 0.6768 MB / 1.333 GB, free: 5.801 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.153e-05/0.3329, allocations: 7.984 kB / 1.333 GB, free: 5.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.333, allocations: 7.438 kB / 1.334 GB, free: 5.785 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.333, allocations: 0 / 1.334 GB, free: 5.785 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.3588, allocations: 1.489 MB / 1.335 GB, free: 4.395 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/8.024, allocations: 11.91 kB / 1.335 GB, free: 4.383 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.386906177038327]