Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.001318/0.001318, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001475/0.001475, allocations: 210.1 kB / 22.99 MB, free: 4.98 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 3.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [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.002072/0.002072, allocations: 69.02 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3257, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009367/0.3351, allocations: 6.547 MB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1821/0.5172, allocations: 133.8 MB / 1.464 GB, free: 4.078 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.5185, allocations: 27.81 kB / 1.464 GB, free: 4.051 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.5199, allocations: 425.9 kB / 1.465 GB, free: 3.633 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.5223, allocations: 0.7851 MB / 1.465 GB, free: 2.848 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.5249, allocations: 1.145 MB / 1.466 GB, free: 1.707 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00334/0.5282, allocations: 2.493 MB / 1.469 GB, free: 15.21 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.5296, allocations: 0.7744 MB / 1.47 GB, free: 14.38 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.5309, allocations: 0.9463 MB / 1.471 GB, free: 13.43 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.5322, allocations: 0.9998 MB / 1.472 GB, free: 12.43 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003446/0.5326, allocations: 268 kB / 1.472 GB, free: 12.16 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.5338, allocations: 0.6676 MB / 1.472 GB, free: 11.5 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005954/0.5344, allocations: 0.5686 MB / 1.473 GB, free: 10.93 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009115/0.5354, allocations: 0.879 MB / 1.474 GB, free: 10.04 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003832/0.5392, allocations: 3.238 MB / 1.477 GB, free: 6.793 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5392, allocations: 0 / 1.477 GB, free: 6.793 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5392, allocations: 4 kB / 1.477 GB, free: 6.789 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.524e-05/0.5392, allocations: 0 / 1.477 GB, free: 6.789 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004836/0.5441, allocations: 2.297 MB / 1.479 GB, free: 4.449 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5441, allocations: 12.03 kB / 1.479 GB, free: 4.438 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0083/0.5524, allocations: 1.006 MB / 1.48 GB, free: 3.43 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.5547, allocations: 1.085 MB / 1.481 GB, free: 2.309 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.5548, allocations: 123.3 kB / 1.481 GB, free: 2.188 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/0.5551, allocations: 156 kB / 1.482 GB, free: 2.035 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005165/0.5602, allocations: 2.336 MB / 1.484 GB, free: 15.58 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.5603, allocations: 3.984 kB / 1.484 GB, free: 15.57 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/0.5604, allocations: 68 kB / 1.484 GB, free: 15.51 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.5605, allocations: 40 kB / 1.484 GB, free: 15.47 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006405/0.5669, allocations: 2.397 MB / 1.486 GB, free: 13.07 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.5772, allocations: 4.423 MB / 1.491 GB, free: 8.582 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004464/0.5816, allocations: 1.614 MB / 1.492 GB, free: 6.961 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.5837, allocations: 0.7234 MB / 1.493 GB, free: 6.234 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005937/0.5843, allocations: 93.59 kB / 1.493 GB, free: 6.145 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002749/0.587, allocations: 1.183 MB / 1.494 GB, free: 4.914 MB / 1.186 GB Notification: Performance of pre-optimization done (n=139): time 3.496e-06/0.587, allocations: 0 / 1.494 GB, free: 4.914 MB / 1.186 GB Notification: Performance of matching and sorting (n=139): time 0.008194/0.5952, allocations: 2.524 MB / 1.497 GB, free: 2.383 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/0.5954, allocations: 230.9 kB / 1.497 GB, free: 2.109 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.5967, allocations: 0.852 MB / 1.498 GB, free: 1.23 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.5969, allocations: 53.7 kB / 1.498 GB, free: 1.172 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006431/0.5975, allocations: 0.6771 MB / 1.498 GB, free: 496 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/0.598, allocations: 468 kB / 1.499 GB, free: 24 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000546/0.5985, allocations: 274.8 kB / 1.499 GB, free: 15.74 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.5987, allocations: 361.9 kB / 1.499 GB, free: 15.38 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.6008, allocations: 0.6858 MB / 1.5 GB, free: 14.7 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002325/0.6031, allocations: 0.9787 MB / 1.501 GB, free: 13.66 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004135/0.6072, allocations: 1.471 MB / 1.503 GB, free: 12.18 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.6072, allocations: 3.984 kB / 1.503 GB, free: 12.18 MB / 1.201 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005616/0.6129, allocations: 1.844 MB / 1.504 GB, free: 10.32 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.6129, allocations: 4 kB / 1.504 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.6129, allocations: 7.938 kB / 1.504 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006826/0.6136, allocations: 84.84 kB / 1.504 GB, free: 10.22 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.6156, allocations: 343.5 kB / 1.505 GB, free: 9.887 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.618, allocations: 1.529 MB / 1.506 GB, free: 8.254 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.6199, allocations: 195.3 kB / 1.506 GB, free: 8.062 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.6201, allocations: 63.94 kB / 1.506 GB, free: 8 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008487/0.6209, allocations: 404.8 kB / 1.507 GB, free: 7.594 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003268/0.6213, allocations: 131.1 kB / 1.507 GB, free: 7.465 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00652/0.6278, allocations: 2.214 MB / 1.509 GB, free: 5.234 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.6278, allocations: 16 kB / 1.509 GB, free: 5.219 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6278, allocations: 0 / 1.509 GB, free: 5.219 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.6278, allocations: 7.969 kB / 1.509 GB, free: 5.211 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.6299, allocations: 1.277 MB / 1.51 GB, free: 3.902 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6299, allocations: 0 / 1.51 GB, free: 3.902 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/0.6317, allocations: 315.5 kB / 1.511 GB, free: 3.594 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/0.6322, allocations: 76.78 kB / 1.511 GB, free: 3.516 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.6324, allocations: 43.95 kB / 1.511 GB, free: 3.473 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.6345, allocations: 1.551 MB / 1.512 GB, free: 1.816 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6345, allocations: 0 / 1.512 GB, free: 1.816 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005586/0.6401, allocations: 1.918 MB / 1.514 GB, free: 15.88 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009509/0.6411, allocations: 358.6 kB / 1.515 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.6413, allocations: 35.92 kB / 1.515 GB, free: 15.49 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.6429, allocations: 143.8 kB / 1.515 GB, free: 15.35 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/0.6432, allocations: 121.1 kB / 1.515 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.6433, allocations: 59.95 kB / 1.515 GB, free: 15.17 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009815/0.6443, allocations: 0.618 MB / 1.516 GB, free: 14.54 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6443, allocations: 0 / 1.516 GB, free: 14.54 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00142/0.6457, allocations: 0.5376 MB / 1.516 GB, free: 14 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00227/0.648, allocations: 0.691 MB / 1.517 GB, free: 13.52 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00505/0.6531, allocations: 1.763 MB / 1.518 GB, free: 11.74 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.6531, allocations: 7.984 kB / 1.518 GB, free: 11.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/0.6557, allocations: 0.9744 MB / 1.519 GB, free: 10.75 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.6574, allocations: 371.1 kB / 1.52 GB, free: 10.41 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006474/0.6639, allocations: 3.106 MB / 1.523 GB, free: 7.262 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008042/0.6647, allocations: 0.7096 MB / 1.523 GB, free: 6.516 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001626/0.6663, allocations: 393.7 kB / 1.524 GB, free: 6.129 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006313/0.667, allocations: 175.2 kB / 1.524 GB, free: 5.957 MB / 1.217 GB Notification: Performance of SimCode: time 1.253e-06/0.667, allocations: 0 / 1.524 GB, free: 5.957 MB / 1.217 GB Notification: Performance of Templates: time 0.04655/0.7135, allocations: 27.01 MB / 1.55 GB, free: 11.27 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.724268953010323]