Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.001418/0.001418, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001584/0.001584, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.785 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.245/3.245, allocations: 0.4892 GB / 0.7943 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",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.002109/0.002109, allocations: 66.52 kB / 1.153 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3973, allocations: 176.1 MB / 1.325 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1682/0.5655, allocations: 119 MB / 1.441 GB, free: 10.82 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001949/0.5657, allocations: 47.88 kB / 1.441 GB, free: 10.78 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.5657, allocations: 0 / 1.441 GB, free: 10.78 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.5659, allocations: 7.922 kB / 1.441 GB, free: 10.77 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.566, allocations: 11.98 kB / 1.441 GB, free: 10.76 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.5671, allocations: 247 kB / 1.442 GB, free: 10.52 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.583e-05/0.5672, allocations: 35.84 kB / 1.442 GB, free: 10.48 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.5672, allocations: 4 kB / 1.442 GB, free: 10.48 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.085e-05/0.5673, allocations: 11.94 kB / 1.442 GB, free: 10.46 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.5674, allocations: 15.97 kB / 1.442 GB, free: 10.45 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.5674, allocations: 7.875 kB / 1.442 GB, free: 10.44 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.5678, allocations: 175.6 kB / 1.442 GB, free: 10.27 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.5678, allocations: 7.984 kB / 1.442 GB, free: 10.26 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.5679, allocations: 15.92 kB / 1.442 GB, free: 10.25 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.5682, allocations: 167.8 kB / 1.442 GB, free: 10.08 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5682, allocations: 0 / 1.442 GB, free: 10.08 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5682, allocations: 0 / 1.442 GB, free: 10.08 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.5682, allocations: 0 / 1.442 GB, free: 10.08 MB / 1.139 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.0004662/0.5687, allocations: 286 kB / 1.442 GB, free: 9.773 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.5688, allocations: 12.03 kB / 1.442 GB, free: 9.762 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.11e-05/0.5688, allocations: 34.75 kB / 1.442 GB, free: 9.719 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.5688, allocations: 0.9375 kB / 1.442 GB, free: 9.719 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.569, allocations: 110.5 kB / 1.442 GB, free: 9.586 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-05/0.5691, allocations: 63.66 kB / 1.442 GB, free: 9.512 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.5691, allocations: 3.984 kB / 1.442 GB, free: 9.508 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.5692, allocations: 71.38 kB / 1.443 GB, free: 9.426 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5693, allocations: 0 / 1.443 GB, free: 9.426 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.5693, allocations: 0 / 1.443 GB, free: 9.426 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.5693, allocations: 0 / 1.443 GB, free: 9.426 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.427e-05/0.5693, allocations: 19.98 kB / 1.443 GB, free: 9.406 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.57, allocations: 276 kB / 1.443 GB, free: 9.094 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.218e-05/0.57, allocations: 22.52 kB / 1.443 GB, free: 9.062 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.5701, allocations: 4.859 kB / 1.443 GB, free: 9.055 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-05/0.5701, allocations: 32.03 kB / 1.443 GB, free: 9.023 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.5702, allocations: 30.56 kB / 1.443 GB, free: 8.984 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.5702, allocations: 0 / 1.443 GB, free: 8.984 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001597/0.5703, allocations: 41.66 kB / 1.443 GB, free: 8.938 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.5704, allocations: 55.34 kB / 1.443 GB, free: 8.871 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.518e-05/0.5705, allocations: 105.8 kB / 1.443 GB, free: 8.758 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.5705, allocations: 29.7 kB / 1.443 GB, free: 8.723 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.5706, allocations: 92.16 kB / 1.443 GB, free: 8.629 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-06/0.5706, allocations: 0 / 1.443 GB, free: 8.629 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.5706, allocations: 21.7 kB / 1.443 GB, free: 8.602 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5708, allocations: 314.8 kB / 1.444 GB, free: 8.285 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.5708, allocations: 4 kB / 1.444 GB, free: 8.281 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.5708, allocations: 13.72 kB / 1.444 GB, free: 8.262 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.394e-05/0.5709, allocations: 25.7 kB / 1.444 GB, free: 8.23 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5709, allocations: 0 / 1.444 GB, free: 8.23 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.284e-05/0.5709, allocations: 53.62 kB / 1.444 GB, free: 8.172 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.571, allocations: 8 kB / 1.444 GB, free: 8.164 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.571, allocations: 0 / 1.444 GB, free: 8.164 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.571, allocations: 0 / 1.444 GB, free: 8.164 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/0.571, allocations: 7.938 kB / 1.444 GB, free: 8.156 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.571, allocations: 0 / 1.444 GB, free: 8.156 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.5711, allocations: 11.89 kB / 1.444 GB, free: 8.145 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.5711, allocations: 0 / 1.444 GB, free: 8.145 MB / 1.139 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 0.000106/0.5712, allocations: 114.3 kB / 1.444 GB, free: 8.023 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.5712, allocations: 4 kB / 1.444 GB, free: 8.02 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.5714, allocations: 125 kB / 1.444 GB, free: 7.887 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.135e-05/0.5715, allocations: 180.2 kB / 1.444 GB, free: 7.703 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.928e-05/0.5715, allocations: 180.5 kB / 1.444 GB, free: 7.52 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-05/0.5716, allocations: 188.2 kB / 1.444 GB, free: 7.328 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.5719, allocations: 372.2 kB / 1.445 GB, free: 6.914 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-05/0.5719, allocations: 101 kB / 1.445 GB, free: 6.809 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.572, allocations: 116.9 kB / 1.445 GB, free: 6.688 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.361e-05/0.5721, allocations: 184.3 kB / 1.445 GB, free: 6.5 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.054e-05/0.5722, allocations: 176.3 kB / 1.445 GB, free: 6.32 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.993e-05/0.5722, allocations: 188.4 kB / 1.445 GB, free: 6.129 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.093e-05/0.5723, allocations: 180.3 kB / 1.446 GB, free: 5.945 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.5725, allocations: 315.7 kB / 1.446 GB, free: 5.613 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.5726, allocations: 105 kB / 1.446 GB, free: 5.504 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.5727, allocations: 180.2 kB / 1.446 GB, free: 5.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.5729, allocations: 109 kB / 1.446 GB, free: 5.207 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.42e-05/0.573, allocations: 184.2 kB / 1.447 GB, free: 5.02 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/0.573, allocations: 112.9 kB / 1.447 GB, free: 4.902 MB / 1.139 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.5731, allocations: 83.27 kB / 1.447 GB, free: 4.82 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5731, allocations: 0 / 1.447 GB, free: 4.82 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003266/0.5734, allocations: 55.75 kB / 1.447 GB, free: 4.766 MB / 1.139 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.0007215/0.5742, allocations: 0.8904 MB / 1.448 GB, free: 3.844 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 7.784e-05/0.5742, allocations: 4 kB / 1.448 GB, free: 3.84 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5742, allocations: 4 kB / 1.448 GB, free: 3.836 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.5742, allocations: 128 / 1.448 GB, free: 3.836 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.5747, allocations: 463.6 kB / 1.448 GB, free: 3.379 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.5759, allocations: 1.348 MB / 1.449 GB, free: 1.945 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.053e-05/0.576, allocations: 59.34 kB / 1.449 GB, free: 1.867 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.058e-05/0.576, allocations: 4 kB / 1.449 GB, free: 1.863 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.576, allocations: 11.44 kB / 1.449 GB, free: 1.852 MB / 1.139 GB Notification: Performance of SimCode: time 5.41e-07/0.576, allocations: 4 kB / 1.449 GB, free: 1.848 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.6063, allocations: 2.756 MB / 1.452 GB, free: 15.22 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.97, allocations: 7.812 kB / 1.452 GB, free: 15.22 MB / 1.154 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.76263295300305]