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.001441/0.001441, allocations: 77.78 kB / 19.76 MB, free: 2.031 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.001608/0.001608, allocations: 160.4 kB / 23.01 MB, free: 4.945 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.555/1.555, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.86/2.86, allocations: 377.9 MB / 0.6228 GB, free: 12.63 MB / 0.5919 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: 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.002129/0.002129, allocations: 63.91 kB / 0.9819 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9912/0.9934, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004881/0.9982, allocations: 3.897 MB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001549/0.9984, allocations: 148.3 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.9984, allocations: 0 / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.9985, allocations: 2.531 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.098e-05/0.9986, allocations: 17.83 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.999, allocations: 79.98 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.284e-05/0.9991, allocations: 30.84 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.9991, allocations: 14.5 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.9991, allocations: 11.84 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/0.9992, allocations: 23.52 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.9992, allocations: 0 / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.9994, allocations: 50.27 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.9995, allocations: 10.52 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.9995, allocations: 9.453 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.9996, allocations: 55.64 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.9997, allocations: 5.641 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9997, allocations: 0 / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.9997, allocations: 0 / 1.158 GB, free: 30.39 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.0003446/1, allocations: 271.6 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1, allocations: 7.656 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/1, allocations: 3.562 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.041e-05/1, allocations: 102.5 kB / 1.159 GB, free: 29.99 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.629e-05/1, allocations: 66.33 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/1, allocations: 384 / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/1, allocations: 70.22 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/1, allocations: 0 / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/1, allocations: 0 / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/1, allocations: 0 / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.182e-05/1, allocations: 18.06 kB / 1.159 GB, free: 29.85 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/1.001, allocations: 215.5 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.103e-05/1.001, allocations: 18.52 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/1.001, allocations: 7.797 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.862e-05/1.001, allocations: 9.172 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/1.001, allocations: 34.56 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/1.001, allocations: 0 / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001308/1.001, allocations: 38.22 kB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/1.001, allocations: 55.34 kB / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.923e-05/1.001, allocations: 110.7 kB / 1.159 GB, free: 29.35 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/1.001, allocations: 29.7 kB / 1.159 GB, free: 29.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/1.001, allocations: 86.66 kB / 1.159 GB, free: 29.23 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-06/1.001, allocations: 0 / 1.159 GB, free: 29.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/1.001, allocations: 22.38 kB / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.076e-05/1.001, allocations: 314.8 kB / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/1.001, allocations: 2.625 kB / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/1.001, allocations: 22.66 kB / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.741e-05/1.001, allocations: 14.94 kB / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.001, allocations: 0 / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.946e-05/1.001, allocations: 54.52 kB / 1.16 GB, free: 28.81 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.001, allocations: 5.562 kB / 1.16 GB, free: 28.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.001, allocations: 7.969 kB / 1.16 GB, free: 28.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.001, allocations: 2.594 kB / 1.16 GB, free: 28.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.23e-05/1.001, allocations: 8.609 kB / 1.16 GB, free: 28.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.001, allocations: 0 / 1.16 GB, free: 28.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/1.001, allocations: 7.891 kB / 1.16 GB, free: 28.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/1.001, allocations: 2.656 kB / 1.16 GB, free: 28.8 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 5.482e-05/1.002, allocations: 120.8 kB / 1.16 GB, free: 28.67 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/1.002, allocations: 6.812 kB / 1.16 GB, free: 28.67 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.37e-05/1.002, allocations: 115 kB / 1.16 GB, free: 28.55 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/1.002, allocations: 180.2 kB / 1.16 GB, free: 28.37 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.648e-05/1.002, allocations: 179.1 kB / 1.16 GB, free: 28.19 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.402e-05/1.002, allocations: 183.4 kB / 1.16 GB, free: 28 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/1.002, allocations: 357.9 kB / 1.161 GB, free: 27.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/1.002, allocations: 104.4 kB / 1.161 GB, free: 27.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/1.002, allocations: 111.5 kB / 1.161 GB, free: 27.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.156e-05/1.002, allocations: 176.3 kB / 1.161 GB, free: 27.22 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/1.002, allocations: 182.8 kB / 1.161 GB, free: 27.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-05/1.002, allocations: 184.2 kB / 1.161 GB, free: 26.85 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.437e-05/1.002, allocations: 185.9 kB / 1.162 GB, free: 26.67 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.436e-05/1.002, allocations: 308.7 kB / 1.162 GB, free: 26.35 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/1.002, allocations: 106.7 kB / 1.162 GB, free: 26.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/1.002, allocations: 186.8 kB / 1.162 GB, free: 26.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/1.002, allocations: 106.8 kB / 1.162 GB, free: 25.95 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/1.002, allocations: 184.2 kB / 1.163 GB, free: 25.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/1.002, allocations: 107.5 kB / 1.163 GB, free: 25.65 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.685e-05/1.002, allocations: 83.67 kB / 1.163 GB, free: 25.58 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.002, allocations: 0 / 1.163 GB, free: 25.58 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002368/1.003, allocations: 21.06 kB / 1.163 GB, free: 25.57 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.000139/1.003, allocations: 187.7 kB / 1.163 GB, free: 25.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.966e-05/1.003, allocations: 12.77 kB / 1.163 GB, free: 25.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.003, allocations: 3.938 kB / 1.163 GB, free: 25.39 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/1.003, allocations: 0 / 1.163 GB, free: 25.39 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/1.003, allocations: 471.5 kB / 1.163 GB, free: 24.94 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/1.003, allocations: 176.5 kB / 1.164 GB, free: 24.76 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.029e-05/1.003, allocations: 64.31 kB / 1.164 GB, free: 24.69 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.621e-05/1.003, allocations: 10.78 kB / 1.164 GB, free: 24.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/1.003, allocations: 11.5 kB / 1.164 GB, free: 24.67 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/1.003, allocations: 0 / 1.164 GB, free: 24.67 MB / 1.076 GB Notification: Performance of Templates: time 0.002935/1.006, allocations: 0.6645 MB / 1.164 GB, free: 24.56 MB / 1.076 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 -s ida -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: 9.193459811038338]