Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.00167/0.00167, allocations: 115.5 kB / 17.08 MB, free: 5.977 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.001932/0.001932, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.476/1.476, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437.1 MB / 0.7177 GB, free: 4.539 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3373, allocations: 151.6 MB / 1.176 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01031/0.3477, allocations: 7.412 MB / 1.183 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.8904/1.238, allocations: 151.7 MB / 1.331 GB, free: 7.621 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/1.24, allocations: 22.91 kB / 1.331 GB, free: 7.613 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/1.241, allocations: 306.8 kB / 1.332 GB, free: 7.441 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00362/1.245, allocations: 0.7961 MB / 1.332 GB, free: 7.059 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/1.248, allocations: 1.142 MB / 1.333 GB, free: 6.871 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004153/1.252, allocations: 2.345 MB / 1.336 GB, free: 6.223 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/1.255, allocations: 1.156 MB / 1.337 GB, free: 5.617 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/1.257, allocations: 0.9009 MB / 1.338 GB, free: 5.141 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/1.259, allocations: 0.9803 MB / 1.339 GB, free: 4.613 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008282/1.26, allocations: 264.3 kB / 1.339 GB, free: 4.613 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/1.262, allocations: 0.6426 MB / 1.34 GB, free: 4.488 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007598/1.263, allocations: 0.5514 MB / 1.34 GB, free: 4.102 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001588/1.264, allocations: 1.063 MB / 1.341 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004479/1.269, allocations: 3.132 MB / 1.344 GB, free: 2.051 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.269, allocations: 0 / 1.344 GB, free: 2.051 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/1.269, allocations: 0 / 1.344 GB, free: 2.051 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.1e-05/1.269, allocations: 0 / 1.344 GB, free: 2.051 MB / 1.014 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.005638/1.274, allocations: 2.292 MB / 1.346 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.274, allocations: 9.938 kB / 1.346 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006126/1.281, allocations: 0.8733 MB / 1.347 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/1.283, allocations: 1.105 MB / 1.348 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/1.284, allocations: 123 kB / 1.349 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/1.284, allocations: 162.2 kB / 1.349 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005546/1.289, allocations: 2.056 MB / 1.351 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.729e-05/1.29, allocations: 0 / 1.351 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001989/1.29, allocations: 69.7 kB / 1.351 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/1.29, allocations: 43 kB / 1.351 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006892/1.297, allocations: 2.448 MB / 1.353 GB, free: 14.09 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/1.308, allocations: 5.643 MB / 1.359 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004824/1.313, allocations: 1.713 MB / 1.36 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0022/1.315, allocations: 0.8035 MB / 1.361 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007913/1.316, allocations: 498.3 kB / 1.362 GB, free: 8.871 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002711/1.319, allocations: 1.071 MB / 1.363 GB, free: 8.215 MB / 1.029 GB Notification: Performance of pre-optimization done (n=139): time 5.821e-06/1.319, allocations: 0 / 1.363 GB, free: 8.215 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.008214/1.327, allocations: 2.616 MB / 1.365 GB, free: 6.848 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/1.327, allocations: 195.7 kB / 1.365 GB, free: 6.625 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/1.329, allocations: 0.886 MB / 1.366 GB, free: 6.109 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002425/1.329, allocations: 57.7 kB / 1.366 GB, free: 6.055 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006797/1.33, allocations: 0.634 MB / 1.367 GB, free: 5.492 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/1.33, allocations: 475.5 kB / 1.367 GB, free: 5.078 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005539/1.331, allocations: 271 kB / 1.368 GB, free: 4.914 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002088/1.331, allocations: 361.9 kB / 1.368 GB, free: 4.566 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/1.333, allocations: 0.6867 MB / 1.369 GB, free: 4.215 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/1.335, allocations: 0.8266 MB / 1.369 GB, free: 3.758 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004168/1.34, allocations: 1.466 MB / 1.371 GB, free: 2.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.34, allocations: 0 / 1.371 GB, free: 2.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005407/1.345, allocations: 1.838 MB / 1.373 GB, free: 2.047 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/1.345, allocations: 11.88 kB / 1.373 GB, free: 2.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.345, allocations: 1.625 kB / 1.373 GB, free: 2.043 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/1.346, allocations: 82.61 kB / 1.373 GB, free: 2.004 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/1.347, allocations: 348.6 kB / 1.373 GB, free: 1.898 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/1.35, allocations: 1.655 MB / 1.375 GB, free: 280 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/1.352, allocations: 201.9 kB / 1.375 GB, free: 160 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/1.352, allocations: 65.78 kB / 1.375 GB, free: 132 kB / 1.029 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.0009121/1.353, allocations: 394.9 kB / 1.375 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/1.353, allocations: 131.6 kB / 1.376 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006038/1.359, allocations: 2.211 MB / 1.378 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/1.359, allocations: 13.03 kB / 1.378 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/1.359, allocations: 0 / 1.378 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/1.359, allocations: 13.78 kB / 1.378 GB, free: 14.52 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/1.362, allocations: 1.79 MB / 1.379 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.362, allocations: 0 / 1.379 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/1.363, allocations: 309.6 kB / 1.38 GB, free: 13.1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004629/1.364, allocations: 85.67 kB / 1.38 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/1.364, allocations: 44.17 kB / 1.38 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/1.366, allocations: 1.671 MB / 1.382 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.366, allocations: 6.094 kB / 1.382 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005426/1.372, allocations: 1.923 MB / 1.383 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008379/1.372, allocations: 439.5 kB / 1.384 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/1.373, allocations: 41.98 kB / 1.384 GB, free: 9.992 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/1.374, allocations: 144.9 kB / 1.384 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/1.374, allocations: 112.1 kB / 1.384 GB, free: 9.867 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.375, allocations: 63 kB / 1.384 GB, free: 9.84 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000907/1.376, allocations: 0.6391 MB / 1.385 GB, free: 9.469 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.21e-07/1.376, allocations: 0 / 1.385 GB, free: 9.469 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001345/1.377, allocations: 0.5257 MB / 1.385 GB, free: 9.312 MB / 1.045 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.002013/1.379, allocations: 0.6515 MB / 1.386 GB, free: 9.008 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0051/1.384, allocations: 1.822 MB / 1.388 GB, free: 8.09 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.384, allocations: 0 / 1.388 GB, free: 8.09 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002644/1.387, allocations: 1.057 MB / 1.389 GB, free: 7.535 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/1.389, allocations: 379 kB / 1.389 GB, free: 7.336 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006246/1.395, allocations: 3.053 MB / 1.392 GB, free: 5.551 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009558/1.396, allocations: 1.262 MB / 1.393 GB, free: 4.473 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009694/1.397, allocations: 191.3 kB / 1.393 GB, free: 4.285 MB / 1.045 GB Notification: Performance of SimCode: time 6.21e-07/1.397, allocations: 4 kB / 1.393 GB, free: 4.281 MB / 1.045 GB Notification: Performance of Templates: time 0.04838/1.445, allocations: 32.56 MB / 1.425 GB, free: 3.805 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.234909896040335]