Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001464/0.001464, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001593/0.001593, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.439/1.439, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.826/2.826, allocations: 0.49 GB / 0.7923 GB, free: 1.34 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [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.002012/0.002012, allocations: 75.88 kB / 1.15 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.899/0.901, allocations: 176.1 MB / 1.322 GB, free: 25.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004659/0.9056, allocations: 3.796 MB / 1.326 GB, free: 22.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001586/0.9058, allocations: 153.1 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.9058, allocations: 4 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.9059, allocations: 7.266 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.906, allocations: 9.875 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.9063, allocations: 78.83 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.649e-05/0.9064, allocations: 38.08 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.9064, allocations: 6.531 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.562e-05/0.9065, allocations: 17.25 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.9065, allocations: 12.72 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.9065, allocations: 2.406 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004717/0.907, allocations: 209.4 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.9071, allocations: 10.05 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.9071, allocations: 7 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.9072, allocations: 70.3 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.9072, allocations: 0 / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9072, allocations: 0 / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.9072, allocations: 0 / 1.326 GB, free: 22.17 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.0003337/0.9076, allocations: 343.5 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.9076, allocations: 12.58 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.9076, allocations: 0.9375 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.594e-05/0.9077, allocations: 166.8 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.9078, allocations: 26.27 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.9078, allocations: 3.219 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.9079, allocations: 49.45 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.9079, allocations: 0 / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.9079, allocations: 4 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.9079, allocations: 6.391 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.015e-05/0.908, allocations: 12.88 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.9083, allocations: 338.6 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.4e-05/0.9084, allocations: 14.58 kB / 1.327 GB, free: 21.13 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.9084, allocations: 11.73 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.368e-05/0.9084, allocations: 91.69 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.9085, allocations: 33.56 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.9085, allocations: 0 / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001338/0.9086, allocations: 39.44 kB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.9086, allocations: 51.41 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.9087, allocations: 98.52 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.9087, allocations: 32.58 kB / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.9087, allocations: 88.22 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-06/0.9087, allocations: 3.938 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.9087, allocations: 18.88 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.9088, allocations: 318.8 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.9088, allocations: 6.656 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/0.9088, allocations: 15.97 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.9089, allocations: 30 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.9089, allocations: 0 / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.029e-05/0.9089, allocations: 48.34 kB / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.9089, allocations: 5.688 kB / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.9089, allocations: 288 / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.9089, allocations: 2.844 kB / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.02e-05/0.909, allocations: 8.281 kB / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.909, allocations: 0 / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.909, allocations: 3.953 kB / 1.328 GB, free: 20.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.909, allocations: 6.625 kB / 1.328 GB, free: 20.22 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.577e-05/0.9091, allocations: 112.3 kB / 1.328 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.9091, allocations: 3.984 kB / 1.328 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.595e-05/0.9092, allocations: 129.2 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.9092, allocations: 176.3 kB / 1.328 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/0.9092, allocations: 184.2 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/0.9093, allocations: 186.2 kB / 1.329 GB, free: 19.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.9094, allocations: 411.2 kB / 1.329 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.9094, allocations: 101 kB / 1.329 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.9094, allocations: 103.7 kB / 1.329 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.391e-05/0.9094, allocations: 180.2 kB / 1.33 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.9095, allocations: 187.3 kB / 1.33 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.501e-05/0.9095, allocations: 183 kB / 1.33 GB, free: 18.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.39e-05/0.9095, allocations: 176.3 kB / 1.33 GB, free: 18.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.818e-05/0.9096, allocations: 312.4 kB / 1.33 GB, free: 17.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.9096, allocations: 178.1 kB / 1.331 GB, free: 17.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.9097, allocations: 190.1 kB / 1.331 GB, free: 17.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.9098, allocations: 101 kB / 1.331 GB, free: 17.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.9098, allocations: 179.2 kB / 1.331 GB, free: 17.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.9098, allocations: 112 kB / 1.331 GB, free: 16.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.9099, allocations: 89.06 kB / 1.331 GB, free: 16.83 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9099, allocations: 0 / 1.331 GB, free: 16.83 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002299/0.9101, allocations: 19.72 kB / 1.331 GB, free: 16.82 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.0001621/0.9102, allocations: 201.2 kB / 1.331 GB, free: 16.65 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.234e-05/0.9103, allocations: 10.09 kB / 1.331 GB, free: 16.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9103, allocations: 3.938 kB / 1.331 GB, free: 16.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-06/0.9103, allocations: 8.531 kB / 1.331 GB, free: 16.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.9107, allocations: 466.2 kB / 1.332 GB, free: 16.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.9109, allocations: 211 kB / 1.332 GB, free: 15.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.911, allocations: 0.675 MB / 1.333 GB, free: 15.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.911, allocations: 9.469 kB / 1.333 GB, free: 15.26 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.911, allocations: 0 / 1.333 GB, free: 15.26 MB / 1.061 GB Notification: Performance of Templates: time 0.002428/0.9135, allocations: 0.7227 MB / 1.333 GB, free: 15.21 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: 10.985865213995567]