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.00132/0.00132, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001454/0.001454, allocations: 213.4 kB / 22.25 MB, free: 5.117 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.004 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.251/3.251, allocations: 0.49 GB / 0.7951 GB, free: 33.33 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.002031/0.002031, allocations: 70.03 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3919, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.187/0.5788, allocations: 138.7 MB / 1.461 GB, free: 6.727 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0002403/0.5791, allocations: 55.86 kB / 1.461 GB, free: 6.672 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.5791, allocations: 0 / 1.461 GB, free: 6.672 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.5793, allocations: 7.938 kB / 1.461 GB, free: 6.664 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.5794, allocations: 15.91 kB / 1.461 GB, free: 6.648 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.5806, allocations: 243 kB / 1.462 GB, free: 6.41 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.5807, allocations: 27.91 kB / 1.462 GB, free: 6.383 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.5808, allocations: 8 kB / 1.462 GB, free: 6.375 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.5808, allocations: 23.91 kB / 1.462 GB, free: 6.352 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.065e-05/0.5809, allocations: 15.92 kB / 1.462 GB, free: 6.336 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.5809, allocations: 0 / 1.462 GB, free: 6.336 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000607/0.5815, allocations: 259.4 kB / 1.462 GB, free: 6.082 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.5816, allocations: 7.984 kB / 1.462 GB, free: 6.074 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.5816, allocations: 11.92 kB / 1.462 GB, free: 6.062 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.5821, allocations: 175.9 kB / 1.462 GB, free: 5.891 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5821, allocations: 4 kB / 1.462 GB, free: 5.887 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5821, allocations: 3.938 kB / 1.462 GB, free: 5.883 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.5821, allocations: 4 kB / 1.462 GB, free: 5.879 MB / 1.154 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.0004804/0.5826, allocations: 290 kB / 1.462 GB, free: 5.566 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5826, allocations: 8.031 kB / 1.462 GB, free: 5.559 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.5827, allocations: 38.73 kB / 1.462 GB, free: 5.512 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.5827, allocations: 4.938 kB / 1.462 GB, free: 5.508 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.5828, allocations: 102.5 kB / 1.463 GB, free: 5.383 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.791e-05/0.5829, allocations: 59.72 kB / 1.463 GB, free: 5.312 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.5829, allocations: 0 / 1.463 GB, free: 5.312 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.5831, allocations: 49.67 kB / 1.463 GB, free: 5.258 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.5831, allocations: 0 / 1.463 GB, free: 5.258 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.5831, allocations: 0 / 1.463 GB, free: 5.258 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.5831, allocations: 7.984 kB / 1.463 GB, free: 5.25 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.993e-05/0.5832, allocations: 15.92 kB / 1.463 GB, free: 5.234 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.5839, allocations: 276 kB / 1.463 GB, free: 4.922 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 4.06e-05/0.5839, allocations: 18.58 kB / 1.463 GB, free: 4.895 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.5839, allocations: 8.922 kB / 1.463 GB, free: 4.883 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.779e-05/0.584, allocations: 31.97 kB / 1.463 GB, free: 4.852 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.584, allocations: 30.56 kB / 1.463 GB, free: 4.812 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.584, allocations: 0 / 1.463 GB, free: 4.812 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001669/0.5842, allocations: 41.62 kB / 1.463 GB, free: 4.766 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5843, allocations: 51.53 kB / 1.463 GB, free: 4.703 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.5844, allocations: 105.8 kB / 1.463 GB, free: 4.59 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.5844, allocations: 25.7 kB / 1.463 GB, free: 4.559 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.5844, allocations: 96.02 kB / 1.463 GB, free: 4.461 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.5844, allocations: 7.938 kB / 1.463 GB, free: 4.453 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.5845, allocations: 13.72 kB / 1.463 GB, free: 4.434 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5846, allocations: 314.8 kB / 1.464 GB, free: 4.117 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.5846, allocations: 4 kB / 1.464 GB, free: 4.113 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.136e-05/0.5847, allocations: 25.7 kB / 1.464 GB, free: 4.082 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/0.5847, allocations: 25.59 kB / 1.464 GB, free: 4.051 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.5847, allocations: 0 / 1.464 GB, free: 4.051 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.034e-05/0.5848, allocations: 53.62 kB / 1.464 GB, free: 3.992 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.5848, allocations: 4 kB / 1.464 GB, free: 3.988 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5848, allocations: 0 / 1.464 GB, free: 3.988 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5848, allocations: 0 / 1.464 GB, free: 3.988 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.5849, allocations: 12.06 kB / 1.464 GB, free: 3.977 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5849, allocations: 0 / 1.464 GB, free: 3.977 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.5849, allocations: 11.89 kB / 1.464 GB, free: 3.965 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.5849, allocations: 3.984 kB / 1.464 GB, free: 3.961 MB / 1.154 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.832e-05/0.585, allocations: 110.4 kB / 1.464 GB, free: 3.844 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.585, allocations: 0 / 1.464 GB, free: 3.844 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.5852, allocations: 124.9 kB / 1.464 GB, free: 3.711 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.851e-05/0.5853, allocations: 184.2 kB / 1.464 GB, free: 3.523 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-05/0.5854, allocations: 180.3 kB / 1.464 GB, free: 3.34 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.438e-05/0.5854, allocations: 184.1 kB / 1.465 GB, free: 3.152 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.5857, allocations: 376.3 kB / 1.465 GB, free: 2.734 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.892e-05/0.5858, allocations: 104.9 kB / 1.465 GB, free: 2.625 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.5858, allocations: 105 kB / 1.465 GB, free: 2.516 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.187e-05/0.5859, allocations: 180.3 kB / 1.465 GB, free: 2.332 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.265e-05/0.586, allocations: 188.2 kB / 1.465 GB, free: 2.141 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-05/0.5861, allocations: 176.3 kB / 1.466 GB, free: 1.961 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.749e-05/0.5862, allocations: 184.4 kB / 1.466 GB, free: 1.773 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.5863, allocations: 307.8 kB / 1.466 GB, free: 1.449 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.5864, allocations: 112.9 kB / 1.466 GB, free: 1.332 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.933e-05/0.5865, allocations: 180.3 kB / 1.466 GB, free: 1.148 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.5866, allocations: 108.9 kB / 1.466 GB, free: 1.035 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.5867, allocations: 180.2 kB / 1.467 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/0.5868, allocations: 108.9 kB / 1.467 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.667e-05/0.5869, allocations: 87.28 kB / 1.467 GB, free: 0.6523 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.5869, allocations: 0 / 1.467 GB, free: 0.6523 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003511/0.5872, allocations: 59.67 kB / 1.467 GB, free: 0.5938 MB / 1.154 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.0007197/0.5879, allocations: 0.8996 MB / 1.468 GB, free: 15.66 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.588, allocations: 7.938 kB / 1.468 GB, free: 15.66 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.588, allocations: 3.938 kB / 1.468 GB, free: 15.65 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.588, allocations: 3.984 kB / 1.468 GB, free: 15.65 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.5884, allocations: 467.8 kB / 1.468 GB, free: 15.19 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.5898, allocations: 1.336 MB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.5901, allocations: 0.6729 MB / 1.47 GB, free: 13.07 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.154e-05/0.5901, allocations: 8 kB / 1.47 GB, free: 13.06 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.5902, allocations: 11.42 kB / 1.47 GB, free: 13.05 MB / 1.17 GB Notification: Performance of SimCode: time 7.61e-07/0.5902, allocations: 0 / 1.47 GB, free: 13.05 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.6198, allocations: 2.312 MB / 1.472 GB, free: 10.87 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.75, allocations: 8.047 kB / 1.472 GB, free: 10.86 MB / 1.17 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.53981445520185]