Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008123/0.0008123, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007901/0.0007901, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.8775/0.8775, allocations: 177.1 MB / 203.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.684/1.684, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.78e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004006/0.004034, allocations: 3.629 MB / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0001271/0.004161, allocations: 147.4 kB / 0.9554 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.004182, allocations: 0 / 0.9554 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.004292, allocations: 0 / 0.9554 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.395e-05/0.004366, allocations: 15.91 kB / 0.9554 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.004657, allocations: 84.88 kB / 0.9555 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.642e-05/0.004733, allocations: 39.84 kB / 0.9555 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.004774, allocations: 3.938 kB / 0.9555 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.004823, allocations: 23.97 kB / 0.9555 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.694e-05/0.00489, allocations: 15.92 kB / 0.9555 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.004903, allocations: 0 / 0.9555 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004123/0.005316, allocations: 199.4 kB / 0.9557 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.005357, allocations: 11.92 kB / 0.9558 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.005376, allocations: 8 kB / 0.9558 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.005501, allocations: 67.78 kB / 0.9558 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.005504, allocations: 0 / 0.9558 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.292e-06/0.005505, allocations: 11.94 kB / 0.9558 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.005509, allocations: 0 / 0.9558 GB, free: 14.74 MB / 0.9167 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.0003213/0.005831, allocations: 262.2 kB / 0.9561 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.005863, allocations: 8.031 kB / 0.9561 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.005901, allocations: 4.938 kB / 0.9561 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.563e-05/0.005976, allocations: 101.8 kB / 0.9562 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.006037, allocations: 59.95 kB / 0.9563 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.006045, allocations: 384 / 0.9563 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.006168, allocations: 67.95 kB / 0.9563 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006176, allocations: 192 / 0.9563 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.006188, allocations: 11.92 kB / 0.9563 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.006204, allocations: 4 kB / 0.9563 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.655e-05/0.006241, allocations: 19.92 kB / 0.9564 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.006555, allocations: 204.5 kB / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.077e-05/0.006595, allocations: 22.58 kB / 0.9566 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.235e-05/0.006608, allocations: 8.797 kB / 0.9566 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.006647, allocations: 8.047 kB / 0.9566 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.006669, allocations: 34.56 kB / 0.9566 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.006669, allocations: 0 / 0.9566 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001222/0.006792, allocations: 37.64 kB / 0.9567 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.00682, allocations: 51.41 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.055e-05/0.00688, allocations: 105.8 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.006891, allocations: 25.7 kB / 0.9568 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.006931, allocations: 96.08 kB / 0.9569 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-06/0.006935, allocations: 0 / 0.9569 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.00696, allocations: 21.66 kB / 0.9569 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.00703, allocations: 310.8 kB / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.007042, allocations: 8 kB / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.007065, allocations: 13.72 kB / 0.9573 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.007092, allocations: 29.77 kB / 0.9573 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007093, allocations: 4 kB / 0.9573 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.404e-05/0.007148, allocations: 45.64 kB / 0.9573 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.007161, allocations: 7.984 kB / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.007167, allocations: 4 kB / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.007179, allocations: 4 kB / 0.9573 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.871e-05/0.007218, allocations: 7.938 kB / 0.9574 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.007222, allocations: 0 / 0.9574 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.007234, allocations: 8.062 kB / 0.9574 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.007243, allocations: 7.938 kB / 0.9574 GB, free: 12.97 MB / 0.9167 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.97e-05/0.007293, allocations: 109.8 kB / 0.9575 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.007306, allocations: 7.938 kB / 0.9575 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.095e-05/0.007397, allocations: 124 kB / 0.9576 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.019e-05/0.007437, allocations: 180.2 kB / 0.9578 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-05/0.007475, allocations: 176.3 kB / 0.9579 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.259e-05/0.007518, allocations: 188.2 kB / 0.9581 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.007642, allocations: 352.9 kB / 0.9585 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/0.007665, allocations: 101 kB / 0.9586 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.376e-05/0.007689, allocations: 108.9 kB / 0.9587 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.823e-05/0.007727, allocations: 184.2 kB / 0.9588 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003005/0.008028, allocations: 184.2 kB / 0.959 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.694e-05/0.008065, allocations: 180.3 kB / 0.9592 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.665e-05/0.008102, allocations: 176.3 kB / 0.9593 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.841e-05/0.00819, allocations: 311.7 kB / 0.9596 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.008218, allocations: 108.9 kB / 0.9597 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/0.00827, allocations: 184.3 kB / 0.9599 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/0.008368, allocations: 113 kB / 0.96 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.00841, allocations: 180.2 kB / 0.9602 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.008431, allocations: 105 kB / 0.9603 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.008463, allocations: 91.27 kB / 0.9604 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008463, allocations: 0 / 0.9604 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001643/0.008627, allocations: 15.94 kB / 0.9604 GB, free: 9.676 MB / 0.9167 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.0001462/0.008773, allocations: 190.5 kB / 0.9606 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.263e-05/0.008836, allocations: 7.938 kB / 0.9606 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.008839, allocations: 4 kB / 0.9606 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.00884, allocations: 0 / 0.9606 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.009153, allocations: 467.8 kB / 0.961 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.009368, allocations: 198 kB / 0.9612 GB, free: 8.781 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.009411, allocations: 59.34 kB / 0.9613 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.009433, allocations: 8.5 kB / 0.9613 GB, free: 8.695 MB / 0.9167 GB Notification: Performance of SimCode: time 4.31e-07/0.009433, allocations: 0 / 0.9613 GB, free: 8.695 MB / 0.9167 GB Notification: Performance of Templates: time 0.001622/0.01106, allocations: 0.7399 MB / 0.962 GB, free: 7.961 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.570652224123478]