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.001284/0.001284, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001691/0.001691, allocations: 220 kB / 23.04 MB, free: 5.074 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.273/3.273, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",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.00194/0.00194, allocations: 66.25 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3825, allocations: 179 MB / 1.345 GB, free: 492 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005903/0.3884, allocations: 4.143 MB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002247/0.3887, allocations: 159.5 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.3887, allocations: 0 / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.3888, allocations: 11.92 kB / 1.35 GB, free: 12.14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.595e-05/0.3889, allocations: 11.92 kB / 1.35 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.3892, allocations: 83.73 kB / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.466e-05/0.3893, allocations: 39.84 kB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.181e-05/0.3893, allocations: 0 / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.3894, allocations: 19.98 kB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.3895, allocations: 11.92 kB / 1.35 GB, free: 11.97 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.3895, allocations: 0 / 1.35 GB, free: 11.97 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.3897, allocations: 83.7 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.3897, allocations: 8 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.3898, allocations: 11.92 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.3899, allocations: 60.14 kB / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3899, allocations: 3.984 kB / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3899, allocations: 4 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3899, allocations: 0 / 1.35 GB, free: 11.8 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.0003509/0.3903, allocations: 258.3 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3903, allocations: 12.03 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.743e-05/0.3903, allocations: 4.188 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.3904, allocations: 30.75 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.3904, allocations: 4.938 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.957e-05/0.3905, allocations: 102.5 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.3906, allocations: 55.97 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.3906, allocations: 15.81 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.3907, allocations: 45.67 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3907, allocations: 0 / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3907, allocations: 0 / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.3908, allocations: 0 / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.955e-05/0.3908, allocations: 19.92 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.3912, allocations: 235.9 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.119e-05/0.3912, allocations: 22.52 kB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.3912, allocations: 8.906 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/0.3913, allocations: 11.98 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3913, allocations: 30.56 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.3913, allocations: 0 / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.000139/0.3915, allocations: 33.8 kB / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.3915, allocations: 59.44 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3916, allocations: 101.8 kB / 1.351 GB, free: 10.6 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.3916, allocations: 29.7 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.3917, allocations: 88.09 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-06/0.3917, allocations: 0 / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.3917, allocations: 17.7 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3919, allocations: 318.8 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.3919, allocations: 8 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.3919, allocations: 17.7 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.392, allocations: 17.72 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.392, allocations: 0 / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.778e-05/0.392, allocations: 57.58 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3921, allocations: 4 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3921, allocations: 4.062 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3921, allocations: 0 / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.209e-05/0.3921, allocations: 8 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3921, allocations: 0 / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.3921, allocations: 0 / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3922, allocations: 7.938 kB / 1.351 GB, free: 9.992 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.652e-05/0.3922, allocations: 109.8 kB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.3923, allocations: 4.219 kB / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.3924, allocations: 121 kB / 1.352 GB, free: 9.742 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.873e-05/0.3925, allocations: 184.2 kB / 1.352 GB, free: 9.555 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.85e-05/0.3925, allocations: 188.1 kB / 1.352 GB, free: 9.363 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-05/0.3926, allocations: 176.3 kB / 1.352 GB, free: 9.184 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.3928, allocations: 384.2 kB / 1.352 GB, free: 8.758 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.991e-05/0.3929, allocations: 109 kB / 1.353 GB, free: 8.645 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.3929, allocations: 105 kB / 1.353 GB, free: 8.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.552e-05/0.393, allocations: 184.2 kB / 1.353 GB, free: 8.348 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.3931, allocations: 180.3 kB / 1.353 GB, free: 8.164 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-05/0.3932, allocations: 184.2 kB / 1.353 GB, free: 7.977 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.271e-05/0.3933, allocations: 176.3 kB / 1.353 GB, free: 7.797 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.3934, allocations: 311.7 kB / 1.354 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.3935, allocations: 112.9 kB / 1.354 GB, free: 7.352 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/0.3936, allocations: 184.1 kB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.3937, allocations: 105 kB / 1.354 GB, free: 7.055 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.3938, allocations: 184.2 kB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.3939, allocations: 105 kB / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.905e-05/0.3939, allocations: 91.22 kB / 1.354 GB, free: 6.668 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3939, allocations: 0 / 1.354 GB, free: 6.668 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002796/0.3942, allocations: 15.94 kB / 1.354 GB, free: 6.652 MB / 1.045 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.0005195/0.3947, allocations: 0.8243 MB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.583e-05/0.3948, allocations: 8 kB / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3948, allocations: 0 / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.3948, allocations: 0 / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.3953, allocations: 463.7 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.3964, allocations: 1.325 MB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.3967, allocations: 0.6768 MB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.718e-05/0.3967, allocations: 4 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.3968, allocations: 15.44 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of SimCode: time 3.61e-07/0.3968, allocations: 0 / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.42, allocations: 1.623 MB / 1.359 GB, free: 1.727 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.85, allocations: 0 / 1.359 GB, free: 1.727 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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: 18.762250234023668]