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.001291/0.001291, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001481/0.001481, allocations: 219 kB / 22.26 MB, free: 5.125 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.532/1.532, allocations: 230.6 MB / 256 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.503/3.503, allocations: 0.505 GB / 0.8101 GB, free: 22 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.002295/0.002295, allocations: 70.52 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3778, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007154/0.3849, allocations: 4.126 MB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002806/0.3852, allocations: 167.4 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.3852, allocations: 0 / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.3854, allocations: 4 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.3855, allocations: 7.922 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.3859, allocations: 96.3 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3861, allocations: 31.91 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.3861, allocations: 0 / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.436e-05/0.3862, allocations: 19.92 kB / 1.357 GB, free: 3.969 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.916e-05/0.3862, allocations: 11.92 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.3863, allocations: 4 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.3865, allocations: 79.77 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.3866, allocations: 11.98 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.3866, allocations: 11.92 kB / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.3868, allocations: 60.16 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3868, allocations: 0 / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3868, allocations: 0 / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3868, allocations: 0 / 1.357 GB, free: 3.793 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.0004547/0.3873, allocations: 262.3 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3873, allocations: 12.03 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.3874, allocations: 34.69 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.3874, allocations: 0.9375 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3875, allocations: 114.5 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.476e-05/0.3876, allocations: 51.97 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3877, allocations: 12.11 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.3878, allocations: 45.69 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3878, allocations: 0 / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.3878, allocations: 7.969 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.3879, allocations: 3.938 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.972e-05/0.3879, allocations: 16 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.3884, allocations: 243.8 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.872e-05/0.3884, allocations: 14.58 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.3884, allocations: 4.859 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.145e-05/0.3885, allocations: 12.05 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3885, allocations: 30.56 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.3885, allocations: 4 kB / 1.358 GB, free: 2.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001811/0.3887, allocations: 41.64 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.3888, allocations: 51.41 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.3888, allocations: 101.8 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3889, allocations: 25.7 kB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.3889, allocations: 88.09 kB / 1.358 GB, free: 2.457 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/0.3889, allocations: 0 / 1.358 GB, free: 2.457 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.389, allocations: 21.7 kB / 1.358 GB, free: 2.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3891, allocations: 318.9 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.3891, allocations: 4 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.804e-05/0.3892, allocations: 17.7 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.368e-05/0.3892, allocations: 21.66 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3892, allocations: 0 / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.538e-05/0.3893, allocations: 53.64 kB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3893, allocations: 9.781 kB / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.3893, allocations: 0 / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3893, allocations: 0 / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.665e-05/0.3894, allocations: 8 kB / 1.359 GB, free: 1.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3894, allocations: 7.922 kB / 1.359 GB, free: 1.973 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.3894, allocations: 0 / 1.359 GB, free: 1.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.3894, allocations: 0 / 1.359 GB, free: 1.973 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 9.664e-05/0.3895, allocations: 121.7 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.3895, allocations: 3.984 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.3897, allocations: 120.9 kB / 1.359 GB, free: 1.707 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.043e-05/0.3898, allocations: 180.2 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.154e-05/0.3898, allocations: 180.3 kB / 1.359 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.297e-05/0.3899, allocations: 184.2 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.3902, allocations: 388.1 kB / 1.36 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-05/0.3902, allocations: 101 kB / 1.36 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.3903, allocations: 112.9 kB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.575e-05/0.3903, allocations: 180.3 kB / 1.36 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-05/0.3904, allocations: 184.2 kB / 1.361 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.567e-05/0.3905, allocations: 176.3 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.357e-05/0.3906, allocations: 184.2 kB / 1.361 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.3908, allocations: 307.7 kB / 1.361 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.3909, allocations: 112.9 kB / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.391, allocations: 180.2 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.3911, allocations: 109 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.3912, allocations: 188.2 kB / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.3913, allocations: 101 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.3913, allocations: 87.27 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3913, allocations: 0 / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002578/0.3916, allocations: 19.88 kB / 1.362 GB, free: 14.62 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.0005605/0.3921, allocations: 0.8243 MB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.82e-05/0.3922, allocations: 12 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3922, allocations: 0 / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.3922, allocations: 0 / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.3928, allocations: 463.8 kB / 1.363 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.3939, allocations: 1.329 MB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.3943, allocations: 0.6729 MB / 1.365 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.058e-05/0.3943, allocations: 16.02 kB / 1.365 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.3944, allocations: 11.44 kB / 1.365 GB, free: 11.16 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3944, allocations: 0 / 1.365 GB, free: 11.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.4237, allocations: 1.589 MB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.3, allocations: 3.922 kB / 1.367 GB, free: 9.707 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 & /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.451875632163137]