Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001419/0.001419, allocations: 79.73 kB / 19.76 MB, free: 2.031 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.001581/0.001581, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.455/1.455, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.653/2.653, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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_11_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_11_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.002056/0.002056, allocations: 77.92 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3542, allocations: 169.9 MB / 1.117 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009506/0.3637, allocations: 6.559 MB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.7459/1.11, allocations: 133.7 MB / 1.254 GB, free: 1.145 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/1.111, allocations: 26.94 kB / 1.254 GB, free: 1.133 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009092/1.112, allocations: 324.5 kB / 1.255 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002676/1.114, allocations: 0.825 MB / 1.256 GB, free: 440 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00276/1.117, allocations: 1.158 MB / 1.257 GB, free: 15.79 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003032/1.12, allocations: 2.369 MB / 1.259 GB, free: 14.53 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/1.121, allocations: 0.75 MB / 1.26 GB, free: 14.07 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/1.123, allocations: 0.9458 MB / 1.261 GB, free: 13.58 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/1.124, allocations: 0.8766 MB / 1.262 GB, free: 13.16 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003688/1.125, allocations: 270.2 kB / 1.262 GB, free: 13.16 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/1.126, allocations: 0.6502 MB / 1.262 GB, free: 13.04 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005524/1.126, allocations: 0.5499 MB / 1.263 GB, free: 12.65 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009959/1.127, allocations: 0.8609 MB / 1.264 GB, free: 12.13 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003986/1.131, allocations: 3.195 MB / 1.267 GB, free: 10.78 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.131, allocations: 0.6562 kB / 1.267 GB, free: 10.78 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.533e-06/1.131, allocations: 0 / 1.267 GB, free: 10.78 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.156e-05/1.131, allocations: 1.312 kB / 1.267 GB, free: 10.78 MB / 1.123 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.005215/1.137, allocations: 2.243 MB / 1.269 GB, free: 9.41 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.137, allocations: 11.62 kB / 1.269 GB, free: 9.41 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008387/1.145, allocations: 1.005 MB / 1.27 GB, free: 9.266 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/1.148, allocations: 1.064 MB / 1.271 GB, free: 8.578 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/1.148, allocations: 121.9 kB / 1.271 GB, free: 8.523 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/1.148, allocations: 163 kB / 1.271 GB, free: 8.469 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005313/1.154, allocations: 2.303 MB / 1.274 GB, free: 7.344 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/1.154, allocations: 0 / 1.274 GB, free: 7.344 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/1.154, allocations: 69.09 kB / 1.274 GB, free: 7.293 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/1.154, allocations: 38.53 kB / 1.274 GB, free: 7.293 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006897/1.161, allocations: 2.397 MB / 1.276 GB, free: 6.621 MB / 1.123 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.01092/1.172, allocations: 4.381 MB / 1.28 GB, free: 4.234 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004649/1.176, allocations: 1.607 MB / 1.282 GB, free: 3.625 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002117/1.178, allocations: 0.7372 MB / 1.283 GB, free: 3.34 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005764/1.179, allocations: 100.4 kB / 1.283 GB, free: 3.324 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002796/1.182, allocations: 1.172 MB / 1.284 GB, free: 2.805 MB / 1.123 GB Notification: Performance of pre-optimization done (n=139): time 3.386e-06/1.182, allocations: 0 / 1.284 GB, free: 2.805 MB / 1.123 GB Notification: Performance of matching and sorting (n=139): time 0.008247/1.19, allocations: 2.518 MB / 1.286 GB, free: 1.891 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/1.19, allocations: 199.8 kB / 1.287 GB, free: 1.668 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/1.191, allocations: 0.7954 MB / 1.287 GB, free: 1.328 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/1.192, allocations: 55.2 kB / 1.287 GB, free: 1.277 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006286/1.192, allocations: 0.6578 MB / 1.288 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005614/1.193, allocations: 473.3 kB / 1.289 GB, free: 400 kB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005765/1.193, allocations: 268.8 kB / 1.289 GB, free: 280 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.194, allocations: 358.9 kB / 1.289 GB, free: 15.95 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/1.196, allocations: 0.688 MB / 1.29 GB, free: 15.7 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/1.198, allocations: 0.9824 MB / 1.291 GB, free: 15.16 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004225/1.202, allocations: 1.463 MB / 1.292 GB, free: 14.53 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.202, allocations: 0 / 1.292 GB, free: 14.53 MB / 1.139 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005504/1.208, allocations: 1.832 MB / 1.294 GB, free: 13.83 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.208, allocations: 4.75 kB / 1.294 GB, free: 13.83 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.208, allocations: 2.375 kB / 1.294 GB, free: 13.83 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/1.208, allocations: 88.64 kB / 1.294 GB, free: 13.8 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/1.21, allocations: 344.7 kB / 1.294 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/1.212, allocations: 1.525 MB / 1.296 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/1.214, allocations: 191.9 kB / 1.296 GB, free: 12.14 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/1.214, allocations: 65.16 kB / 1.296 GB, free: 12.12 MB / 1.139 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.0008779/1.215, allocations: 394.8 kB / 1.297 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/1.216, allocations: 130.7 kB / 1.297 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006334/1.222, allocations: 2.201 MB / 1.299 GB, free: 10.53 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/1.222, allocations: 15.34 kB / 1.299 GB, free: 10.53 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.222, allocations: 0 / 1.299 GB, free: 10.53 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/1.222, allocations: 7.969 kB / 1.299 GB, free: 10.52 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/1.224, allocations: 1.261 MB / 1.3 GB, free: 9.66 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.224, allocations: 1.375 kB / 1.3 GB, free: 9.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/1.226, allocations: 316.4 kB / 1.3 GB, free: 9.57 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005578/1.226, allocations: 76 kB / 1.3 GB, free: 9.531 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/1.227, allocations: 50.23 kB / 1.3 GB, free: 9.496 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/1.229, allocations: 1.556 MB / 1.302 GB, free: 8.027 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.229, allocations: 6.906 kB / 1.302 GB, free: 8.023 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005628/1.234, allocations: 1.912 MB / 1.304 GB, free: 7.031 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.236, allocations: 343.6 kB / 1.304 GB, free: 6.762 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004316/1.236, allocations: 42.7 kB / 1.304 GB, free: 6.73 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/1.238, allocations: 138.8 kB / 1.304 GB, free: 6.668 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/1.238, allocations: 121 kB / 1.304 GB, free: 6.59 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/1.238, allocations: 64.11 kB / 1.305 GB, free: 6.562 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001209/1.239, allocations: 0.582 MB / 1.305 GB, free: 6.215 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.239, allocations: 0 / 1.305 GB, free: 6.215 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001959/1.241, allocations: 0.5313 MB / 1.306 GB, free: 6.051 MB / 1.139 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.002533/1.244, allocations: 0.6785 MB / 1.306 GB, free: 5.75 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005237/1.249, allocations: 1.754 MB / 1.308 GB, free: 4.512 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.249, allocations: 0 / 1.308 GB, free: 4.512 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002724/1.252, allocations: 0.9822 MB / 1.309 GB, free: 3.516 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/1.254, allocations: 346.2 kB / 1.309 GB, free: 3.199 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006842/1.261, allocations: 3.022 MB / 1.312 GB, free: 144 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008976/1.262, allocations: 0.6861 MB / 1.313 GB, free: 15.42 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002255/1.264, allocations: 389.4 kB / 1.313 GB, free: 15.04 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008668/1.265, allocations: 168.4 kB / 1.313 GB, free: 14.88 MB / 1.154 GB Notification: Performance of SimCode: time 8.92e-07/1.265, allocations: 0 / 1.313 GB, free: 14.88 MB / 1.154 GB Notification: Performance of Templates: time 0.04507/1.31, allocations: 23.76 MB / 1.337 GB, free: 7.43 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.891010852064937]