Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002409/0.002409, allocations: 192.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.787/2.787, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.89 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 160.8 MB / 1.218 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004149/1.034, allocations: 2.221 MB / 1.221 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002618/1.037, allocations: 1.401 MB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/1.037, allocations: 6.031 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007368/1.038, allocations: 191.5 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000418/1.038, allocations: 128.6 kB / 1.222 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/1.039, allocations: 154.9 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003789/1.039, allocations: 225.1 kB / 1.223 GB, free: 444 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/1.039, allocations: 35.22 kB / 1.223 GB, free: 420 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/1.04, allocations: 114.2 kB / 1.223 GB, free: 348 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/1.04, allocations: 94.75 kB / 1.223 GB, free: 292 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/1.04, allocations: 10.41 kB / 1.223 GB, free: 292 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/1.04, allocations: 61.36 kB / 1.223 GB, free: 264 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/1.04, allocations: 89.08 kB / 1.223 GB, free: 212 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001812/1.04, allocations: 138.5 kB / 1.223 GB, free: 100 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006352/1.041, allocations: 353.2 kB / 1.224 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.041, allocations: 0 / 1.224 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.61e-07/1.041, allocations: 1.312 kB / 1.224 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.041, allocations: 0 / 1.224 GB, free: 15.86 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001235/1.042, allocations: 0.6979 MB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.042, allocations: 8.969 kB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.732e-05/1.042, allocations: 45.38 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/1.043, allocations: 359.2 kB / 1.225 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/1.043, allocations: 2.562 kB / 1.225 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/1.043, allocations: 12.47 kB / 1.225 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/1.043, allocations: 79 kB / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/1.043, allocations: 4 kB / 1.225 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/1.043, allocations: 5.219 kB / 1.225 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/1.043, allocations: 1.188 kB / 1.225 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/1.043, allocations: 30.83 kB / 1.225 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009537/1.044, allocations: 460.7 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/1.044, allocations: 68.3 kB / 1.225 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/1.045, allocations: 22.12 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.132e-05/1.045, allocations: 10.17 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/1.045, allocations: 71.95 kB / 1.225 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/1.045, allocations: 1.094 kB / 1.225 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0004975/1.045, allocations: 148.7 kB / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/1.045, allocations: 60.66 kB / 1.226 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009254/1.046, allocations: 0.5278 MB / 1.226 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/1.046, allocations: 32.33 kB / 1.226 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/1.047, allocations: 215.7 kB / 1.226 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/1.047, allocations: 23.83 kB / 1.226 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.026e-05/1.047, allocations: 44.34 kB / 1.226 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0004365/1.047, allocations: 356.1 kB / 1.227 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/1.047, allocations: 54.16 kB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/1.047, allocations: 73.92 kB / 1.227 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/1.048, allocations: 88.67 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.048, allocations: 3.938 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004353/1.048, allocations: 201.5 kB / 1.227 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/1.048, allocations: 5.453 kB / 1.227 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.048, allocations: 9.344 kB / 1.227 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/1.048, allocations: 1.438 kB / 1.227 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/1.048, allocations: 25.42 kB / 1.227 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.048, allocations: 1.312 kB / 1.227 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/1.048, allocations: 14.84 kB / 1.227 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/1.048, allocations: 7.938 kB / 1.227 GB, free: 12.86 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0002479/1.049, allocations: 183.6 kB / 1.227 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.515e-05/1.049, allocations: 42.56 kB / 1.227 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/1.049, allocations: 133.1 kB / 1.228 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/1.049, allocations: 3.938 kB / 1.228 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.049, allocations: 1.312 kB / 1.228 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.049, allocations: 0 / 1.228 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/1.05, allocations: 296.3 kB / 1.228 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/1.05, allocations: 0 / 1.228 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/1.05, allocations: 4.094 kB / 1.228 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.05, allocations: 3.938 kB / 1.228 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/1.05, allocations: 5.172 kB / 1.228 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/1.05, allocations: 5.062 kB / 1.228 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.05, allocations: 4.312 kB / 1.228 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/1.05, allocations: 156.9 kB / 1.228 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/1.05, allocations: 116.6 kB / 1.228 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/1.05, allocations: 1.5 kB / 1.228 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/1.05, allocations: 16.86 kB / 1.228 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/1.05, allocations: 7.953 kB / 1.228 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/1.05, allocations: 2.125 kB / 1.228 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005019/1.051, allocations: 371.2 kB / 1.228 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.051, allocations: 0 / 1.228 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003014/1.051, allocations: 39.97 kB / 1.228 GB, free: 11.82 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001748/1.053, allocations: 425 kB / 1.229 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003152/1.053, allocations: 91.3 kB / 1.229 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.053, allocations: 1.344 kB / 1.229 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.622e-05/1.053, allocations: 30.3 kB / 1.229 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/1.054, allocations: 57.67 kB / 1.229 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/1.055, allocations: 0.6546 MB / 1.23 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/1.056, allocations: 0.8095 MB / 1.231 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001361/1.056, allocations: 32.33 kB / 1.231 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/1.056, allocations: 18.97 kB / 1.231 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of SimCode: time 1.092e-06/1.056, allocations: 0 / 1.231 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.008618/1.064, allocations: 2.932 MB / 1.233 GB, free: 7.723 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.4598753657192]