Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001581/0.001581, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001809/0.001809, allocations: 204 kB / 20.09 MB, free: 2.977 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.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.873/2.873, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_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.001998/0.001998, allocations: 67.91 kB / 1.15 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8868/0.8888, allocations: 176.1 MB / 1.322 GB, free: 25.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004088/0.8929, allocations: 4.111 MB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001613/0.893, allocations: 153.5 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.893, allocations: 2.906 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.572e-05/0.8931, allocations: 3.938 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.8932, allocations: 18.44 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.8935, allocations: 83.91 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.685e-05/0.8935, allocations: 33.97 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.8936, allocations: 4 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.8936, allocations: 17.8 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.8937, allocations: 14.78 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.8937, allocations: 0 / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.8938, allocations: 76.27 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.8939, allocations: 14.45 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.8939, allocations: 12.47 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.894, allocations: 65.41 kB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.894, allocations: 0 / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.392e-06/0.894, allocations: 0 / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.894, allocations: 0 / 1.326 GB, free: 22.03 MB / 1.061 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.0002829/0.8943, allocations: 344.2 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.8943, allocations: 12.36 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.8944, allocations: 11.72 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.332e-05/0.8944, allocations: 164.3 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.8945, allocations: 32.52 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.8945, allocations: 384 / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.8946, allocations: 45.27 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8946, allocations: 0 / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.8946, allocations: 2.719 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.8946, allocations: 7.938 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.67e-05/0.8947, allocations: 15.94 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.895, allocations: 340.3 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 2.914e-05/0.895, allocations: 14.58 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.087e-05/0.895, allocations: 7.672 kB / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.949e-05/0.8951, allocations: 86.89 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.8951, allocations: 34.56 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.8951, allocations: 4 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001191/0.8952, allocations: 42.09 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.8952, allocations: 51.41 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.123e-05/0.8953, allocations: 105.5 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.8953, allocations: 25.7 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.8953, allocations: 84.09 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.8953, allocations: 2.812 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.8953, allocations: 19.75 kB / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.522e-05/0.8954, allocations: 318.9 kB / 1.328 GB, free: 20.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.8954, allocations: 2.531 kB / 1.328 GB, free: 20.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.735e-05/0.8954, allocations: 22.69 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.578e-05/0.8954, allocations: 19.09 kB / 1.328 GB, free: 20.13 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8954, allocations: 0 / 1.328 GB, free: 20.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.114e-05/0.8955, allocations: 50.17 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.8955, allocations: 5.812 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.8955, allocations: 3.938 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.8955, allocations: 2.594 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.911e-05/0.8956, allocations: 3.344 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.8956, allocations: 3.609 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.762e-05/0.8956, allocations: 6.453 kB / 1.328 GB, free: 20.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.8956, allocations: 2.5 kB / 1.328 GB, free: 20.08 MB / 1.061 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.092e-05/0.8956, allocations: 113.8 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.8957, allocations: 6.625 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.229e-05/0.8957, allocations: 114.8 kB / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.8957, allocations: 182.8 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/0.8958, allocations: 180.3 kB / 1.329 GB, free: 19.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.8958, allocations: 180.2 kB / 1.329 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.8959, allocations: 417.9 kB / 1.329 GB, free: 18.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.8959, allocations: 108.3 kB / 1.329 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.8959, allocations: 108.9 kB / 1.33 GB, free: 18.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.928e-05/0.896, allocations: 178.8 kB / 1.33 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.896, allocations: 180.2 kB / 1.33 GB, free: 18.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.981e-05/0.896, allocations: 178.8 kB / 1.33 GB, free: 18.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-05/0.896, allocations: 191.5 kB / 1.33 GB, free: 17.87 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.885e-05/0.8961, allocations: 305.5 kB / 1.331 GB, free: 17.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.8961, allocations: 185.4 kB / 1.331 GB, free: 17.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.8961, allocations: 179.4 kB / 1.331 GB, free: 17.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.8963, allocations: 108.9 kB / 1.331 GB, free: 17.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.8963, allocations: 186.4 kB / 1.331 GB, free: 16.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.8963, allocations: 101 kB / 1.331 GB, free: 16.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.557e-05/0.8963, allocations: 84.16 kB / 1.331 GB, free: 16.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8963, allocations: 0 / 1.331 GB, free: 16.69 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002519/0.8966, allocations: 20.56 kB / 1.331 GB, free: 16.69 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.0001305/0.8967, allocations: 202 kB / 1.332 GB, free: 16.51 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.448e-05/0.8968, allocations: 5.219 kB / 1.332 GB, free: 16.51 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8968, allocations: 0 / 1.332 GB, free: 16.51 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.8968, allocations: 0 / 1.332 GB, free: 16.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.8971, allocations: 467.1 kB / 1.332 GB, free: 16.06 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001999/0.8973, allocations: 217.3 kB / 1.332 GB, free: 15.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.424e-05/0.8974, allocations: 0.6809 MB / 1.333 GB, free: 15.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.8974, allocations: 10.03 kB / 1.333 GB, free: 15.13 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.8974, allocations: 0 / 1.333 GB, free: 15.13 MB / 1.061 GB Notification: Performance of Templates: time 0.002112/0.8995, allocations: 0.7106 MB / 1.334 GB, free: 15.08 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.028564273001393]