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.001365/0.001365, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.001453/0.001453, allocations: 153.4 kB / 23 MB, free: 4.949 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.45/1.45, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.008/3.008, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 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: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [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.002188/0.002188, allocations: 71.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8785/0.8807, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005246/0.8859, allocations: 3.903 MB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001906/0.8861, allocations: 138.7 kB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.8861, allocations: 1.906 kB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.8862, allocations: 5.203 kB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.932e-05/0.8863, allocations: 12.61 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.8867, allocations: 89.55 kB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.8868, allocations: 41.92 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.8868, allocations: 1.641 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.778e-05/0.8869, allocations: 12.78 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.8869, allocations: 17.41 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.887, allocations: 0 / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.8871, allocations: 51.05 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.8872, allocations: 26.38 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.8872, allocations: 5.453 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.8874, allocations: 64.03 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8874, allocations: 0 / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8874, allocations: 0 / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.8874, allocations: 0 / 1.191 GB, free: 13.27 MB / 1.076 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.0003256/0.8877, allocations: 261.2 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.8878, allocations: 9.156 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.8878, allocations: 2.953 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.095e-05/0.8879, allocations: 113.9 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.8879, allocations: 58 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.8879, allocations: 1.688 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.8881, allocations: 76.52 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.8881, allocations: 1.125 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.8881, allocations: 0 / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.8881, allocations: 1.906 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.8881, allocations: 16.3 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.8885, allocations: 206.5 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.934e-05/0.8885, allocations: 20.05 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.8885, allocations: 7 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-05/0.8886, allocations: 11.53 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.8886, allocations: 31.78 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.8886, allocations: 0 / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.8887, allocations: 37.48 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.8887, allocations: 56.5 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.8888, allocations: 99.55 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.8888, allocations: 25.7 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.8888, allocations: 90.58 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.89e-06/0.8888, allocations: 5.234 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.8889, allocations: 18.89 kB / 1.192 GB, free: 12.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.8889, allocations: 325.5 kB / 1.192 GB, free: 11.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.8889, allocations: 3.172 kB / 1.192 GB, free: 11.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.889, allocations: 16.22 kB / 1.192 GB, free: 11.76 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.889, allocations: 25.59 kB / 1.192 GB, free: 11.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.889, allocations: 3.938 kB / 1.192 GB, free: 11.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.487e-05/0.8891, allocations: 45.36 kB / 1.192 GB, free: 11.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.8891, allocations: 6.922 kB / 1.192 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.8891, allocations: 8 kB / 1.192 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8891, allocations: 1.25 kB / 1.192 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.364e-05/0.8891, allocations: 6.297 kB / 1.192 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.8891, allocations: 0 / 1.192 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.8892, allocations: 6.031 kB / 1.192 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.8892, allocations: 2.344 kB / 1.192 GB, free: 11.68 MB / 1.076 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 4.626e-05/0.8892, allocations: 111.9 kB / 1.192 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.8892, allocations: 1.906 kB / 1.192 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.158e-05/0.8893, allocations: 123.2 kB / 1.193 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.8893, allocations: 182.1 kB / 1.193 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-05/0.8894, allocations: 186.2 kB / 1.193 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/0.8894, allocations: 182.2 kB / 1.193 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.8895, allocations: 360.3 kB / 1.193 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.8895, allocations: 102.3 kB / 1.194 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.8895, allocations: 106.8 kB / 1.194 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.618e-05/0.8896, allocations: 178.1 kB / 1.194 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.8896, allocations: 183.3 kB / 1.194 GB, free: 9.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.841e-05/0.8896, allocations: 182.3 kB / 1.194 GB, free: 9.746 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.799e-05/0.8897, allocations: 186.5 kB / 1.194 GB, free: 9.559 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.754e-05/0.8897, allocations: 302.6 kB / 1.195 GB, free: 9.246 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.8897, allocations: 120.8 kB / 1.195 GB, free: 9.125 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.8898, allocations: 178.2 kB / 1.195 GB, free: 8.945 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.8899, allocations: 110.5 kB / 1.195 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.89, allocations: 178.3 kB / 1.195 GB, free: 8.656 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.89, allocations: 102.9 kB / 1.195 GB, free: 8.551 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.662e-05/0.89, allocations: 86.62 kB / 1.195 GB, free: 8.473 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.89, allocations: 0 / 1.195 GB, free: 8.473 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002532/0.8903, allocations: 16.69 kB / 1.195 GB, free: 8.469 MB / 1.076 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.0001457/0.8904, allocations: 189.2 kB / 1.196 GB, free: 8.301 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.698e-05/0.8905, allocations: 15.86 kB / 1.196 GB, free: 8.293 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.8905, allocations: 0 / 1.196 GB, free: 8.293 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.8905, allocations: 3.938 kB / 1.196 GB, free: 8.289 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.8908, allocations: 467.7 kB / 1.196 GB, free: 7.836 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002174/0.891, allocations: 189.4 kB / 1.196 GB, free: 7.648 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.807e-05/0.8911, allocations: 58.67 kB / 1.196 GB, free: 7.578 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.8911, allocations: 9.703 kB / 1.196 GB, free: 7.574 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.8911, allocations: 10.84 kB / 1.196 GB, free: 7.566 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/0.8911, allocations: 0 / 1.196 GB, free: 7.566 MB / 1.076 GB Notification: Performance of Templates: time 0.003199/0.8943, allocations: 0.656 MB / 1.197 GB, free: 7.457 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] 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: 8.830565643962473]