Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001304/0.001304, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001413/0.001413, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 8.027 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.199/3.199, allocations: 0.505 GB / 0.8101 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.00204/0.00204, allocations: 61.39 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3748, allocations: 180.2 MB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006026/0.3808, allocations: 4.13 MB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002253/0.381, allocations: 175.4 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.381, allocations: 0 / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.271e-05/0.3811, allocations: 0 / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.033e-05/0.3812, allocations: 7.938 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.3815, allocations: 88.67 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.757e-05/0.3816, allocations: 31.91 kB / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.3817, allocations: 8 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.154e-05/0.3817, allocations: 19.91 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.3818, allocations: 15.92 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.3818, allocations: 0 / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.382, allocations: 75.78 kB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.3821, allocations: 11.97 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.3821, allocations: 11.94 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.3823, allocations: 64.14 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3823, allocations: 0 / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3823, allocations: 0 / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.3823, allocations: 0 / 1.357 GB, free: 3.848 MB / 1.045 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.0004025/0.3827, allocations: 262.3 kB / 1.358 GB, free: 3.562 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3827, allocations: 12.03 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.3828, allocations: 30.75 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.3828, allocations: 4.875 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.3829, allocations: 110.5 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.383, allocations: 55.97 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.383, allocations: 8.109 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3831, allocations: 49.69 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3831, allocations: 3.984 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3831, allocations: 3.938 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.3831, allocations: 0 / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.673e-05/0.3832, allocations: 19.92 kB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.3836, allocations: 239.8 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.065e-05/0.3836, allocations: 18.58 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.3837, allocations: 8.859 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.956e-05/0.3837, allocations: 4.062 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3837, allocations: 34.56 kB / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3837, allocations: 0 / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001416/0.3839, allocations: 41.62 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.3839, allocations: 51.41 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.384, allocations: 101.9 kB / 1.358 GB, free: 2.637 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.384, allocations: 29.83 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.3841, allocations: 88.08 kB / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-06/0.3841, allocations: 4 kB / 1.358 GB, free: 2.508 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.3841, allocations: 13.72 kB / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3843, allocations: 318.8 kB / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.3843, allocations: 3.984 kB / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.3843, allocations: 13.72 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.85e-05/0.3843, allocations: 29.66 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3843, allocations: 0 / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.044e-05/0.3844, allocations: 49.64 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3844, allocations: 8 kB / 1.359 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3844, allocations: 0 / 1.359 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3845, allocations: 0 / 1.359 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.381e-05/0.3845, allocations: 7.938 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3845, allocations: 4 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.3845, allocations: 8.047 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3845, allocations: 0 / 1.359 GB, free: 2.027 MB / 1.045 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.845e-05/0.3846, allocations: 117.7 kB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.3846, allocations: 0 / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.3848, allocations: 120.9 kB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.47e-05/0.3848, allocations: 184.2 kB / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.138e-05/0.3849, allocations: 180.3 kB / 1.359 GB, free: 1.398 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.541e-05/0.385, allocations: 184.2 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.3852, allocations: 380.2 kB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-05/0.3853, allocations: 104.9 kB / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.3853, allocations: 104.9 kB / 1.36 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.335e-05/0.3854, allocations: 184.3 kB / 1.36 GB, free: 392 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-05/0.3855, allocations: 192.2 kB / 1.361 GB, free: 192 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.443e-05/0.3855, allocations: 176.3 kB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.232e-05/0.3856, allocations: 176.3 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.3858, allocations: 311.7 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.3858, allocations: 116.9 kB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.804e-05/0.3859, allocations: 184.2 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.3861, allocations: 105 kB / 1.362 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.3861, allocations: 184.2 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.3862, allocations: 105 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.3862, allocations: 79.28 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3862, allocations: 4 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000278/0.3865, allocations: 23.88 kB / 1.362 GB, free: 14.68 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.000482/0.387, allocations: 0.8204 MB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.873e-05/0.3871, allocations: 12.05 kB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3871, allocations: 4.062 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.227e-06/0.3871, allocations: 4 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.3875, allocations: 457.2 kB / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.3886, allocations: 1.337 MB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3889, allocations: 0.6768 MB / 1.365 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.389, allocations: 4 kB / 1.365 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.389, allocations: 7.438 kB / 1.365 GB, free: 11.22 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.389, allocations: 0 / 1.365 GB, free: 11.22 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.4179, allocations: 1.597 MB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.02, allocations: 5.109 kB / 1.367 GB, free: 9.762 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_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_WaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.797289990000536]