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.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.001853/0.001853, allocations: 114 kB / 18.14 MB, free: 3.781 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.00187/0.00187, allocations: 201.2 kB / 21.43 MB, free: 0.5 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.522/1.522, allocations: 225.6 MB / 250.2 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.7 MB / 0.7637 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 71.88 kB / 1.108 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8669/0.8688, allocations: 168.7 MB / 1.273 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009749/0.8785, allocations: 7.451 MB / 1.28 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1907/1.069, allocations: 152.3 MB / 1.429 GB, free: 3.898 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/1.071, allocations: 23.88 kB / 1.429 GB, free: 3.875 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/1.072, allocations: 301.1 kB / 1.429 GB, free: 3.578 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002879/1.075, allocations: 0.817 MB / 1.43 GB, free: 2.758 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/1.078, allocations: 1.154 MB / 1.431 GB, free: 1.609 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00354/1.082, allocations: 2.353 MB / 1.433 GB, free: 15.25 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/1.083, allocations: 0.7774 MB / 1.434 GB, free: 14.42 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/1.085, allocations: 0.8996 MB / 1.435 GB, free: 13.52 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/1.086, allocations: 0.9882 MB / 1.436 GB, free: 12.53 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004112/1.087, allocations: 267.9 kB / 1.436 GB, free: 12.27 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/1.088, allocations: 0.6441 MB / 1.437 GB, free: 11.62 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005158/1.089, allocations: 0.5492 MB / 1.437 GB, free: 11.07 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/1.09, allocations: 1.058 MB / 1.438 GB, free: 10.01 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004288/1.094, allocations: 3.129 MB / 1.442 GB, free: 6.867 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/1.094, allocations: 0 / 1.442 GB, free: 6.867 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.403e-06/1.094, allocations: 3.938 kB / 1.442 GB, free: 6.863 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.562e-05/1.094, allocations: 0 / 1.442 GB, free: 6.863 MB / 1.139 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.005547/1.1, allocations: 2.295 MB / 1.444 GB, free: 4.508 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.1, allocations: 8.031 kB / 1.444 GB, free: 4.5 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003089/1.1, allocations: 236.7 kB / 1.444 GB, free: 4.258 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006174/1.106, allocations: 0.8775 MB / 1.445 GB, free: 3.379 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/1.108, allocations: 1.114 MB / 1.446 GB, free: 2.219 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/1.109, allocations: 119.3 kB / 1.446 GB, free: 2.102 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/1.109, allocations: 160 kB / 1.446 GB, free: 1.945 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/1.114, allocations: 2.051 MB / 1.448 GB, free: 15.84 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/1.114, allocations: 0 / 1.448 GB, free: 15.84 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/1.114, allocations: 71.94 kB / 1.448 GB, free: 15.77 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/1.114, allocations: 44 kB / 1.448 GB, free: 15.73 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00646/1.12, allocations: 2.452 MB / 1.451 GB, free: 13.27 MB / 1.154 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.01153/1.132, allocations: 5.644 MB / 1.456 GB, free: 7.457 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004543/1.136, allocations: 1.612 MB / 1.458 GB, free: 5.836 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/1.139, allocations: 0.7309 MB / 1.459 GB, free: 5.102 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007982/1.139, allocations: 498.9 kB / 1.459 GB, free: 4.523 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002721/1.142, allocations: 1.067 MB / 1.46 GB, free: 3.434 MB / 1.154 GB Notification: Performance of pre-optimization done (n=139): time 3.587e-06/1.142, allocations: 0 / 1.46 GB, free: 3.434 MB / 1.154 GB Notification: Performance of matching and sorting (n=139): time 0.008034/1.15, allocations: 2.606 MB / 1.463 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/1.15, allocations: 197.2 kB / 1.463 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/1.152, allocations: 0.8863 MB / 1.464 GB, free: 15.66 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/1.152, allocations: 57.64 kB / 1.464 GB, free: 15.6 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006277/1.152, allocations: 0.6498 MB / 1.464 GB, free: 14.94 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/1.153, allocations: 472 kB / 1.465 GB, free: 14.47 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004714/1.153, allocations: 250.8 kB / 1.465 GB, free: 14.22 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.154, allocations: 357.9 kB / 1.465 GB, free: 13.86 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002028/1.156, allocations: 0.6662 MB / 1.466 GB, free: 13.2 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/1.158, allocations: 0.8236 MB / 1.467 GB, free: 12.34 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004131/1.162, allocations: 1.443 MB / 1.468 GB, free: 10.89 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.162, allocations: 0 / 1.468 GB, free: 10.89 MB / 1.17 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.006049/1.168, allocations: 1.797 MB / 1.47 GB, free: 9.078 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/1.168, allocations: 4 kB / 1.47 GB, free: 9.074 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.168, allocations: 4 kB / 1.47 GB, free: 9.07 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006366/1.169, allocations: 84.78 kB / 1.47 GB, free: 8.984 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/1.171, allocations: 331.5 kB / 1.47 GB, free: 8.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/1.173, allocations: 1.656 MB / 1.472 GB, free: 6.859 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/1.175, allocations: 199.1 kB / 1.472 GB, free: 6.664 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/1.175, allocations: 51.95 kB / 1.472 GB, free: 6.613 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 23 (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 (153): * Single equations (assignments): 152 * 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.001184/1.176, allocations: 394.4 kB / 1.473 GB, free: 6.223 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004415/1.177, allocations: 131.2 kB / 1.473 GB, free: 6.094 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006473/1.183, allocations: 2.214 MB / 1.475 GB, free: 3.863 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/1.183, allocations: 19.94 kB / 1.475 GB, free: 3.844 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/1.183, allocations: 0 / 1.475 GB, free: 3.844 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/1.183, allocations: 7.969 kB / 1.475 GB, free: 3.836 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/1.186, allocations: 1.8 MB / 1.477 GB, free: 1.988 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.186, allocations: 0 / 1.477 GB, free: 1.988 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/1.188, allocations: 311.6 kB / 1.477 GB, free: 1.684 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/1.188, allocations: 80.72 kB / 1.477 GB, free: 1.602 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/1.189, allocations: 43.95 kB / 1.477 GB, free: 1.559 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/1.191, allocations: 1.681 MB / 1.479 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.191, allocations: 0 / 1.479 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005577/1.196, allocations: 1.926 MB / 1.481 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009004/1.197, allocations: 439.8 kB / 1.481 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/1.198, allocations: 31.94 kB / 1.481 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.199, allocations: 151.8 kB / 1.481 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/1.199, allocations: 117.1 kB / 1.481 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/1.199, allocations: 59.94 kB / 1.481 GB, free: 12.98 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009636/1.2, allocations: 0.6423 MB / 1.482 GB, free: 12.33 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.2, allocations: 0 / 1.482 GB, free: 12.33 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00143/1.202, allocations: 0.5181 MB / 1.483 GB, free: 11.81 MB / 1.186 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.007776/1.21, allocations: 3.022 MB / 1.485 GB, free: 8.949 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005168/1.215, allocations: 1.724 MB / 1.487 GB, free: 7.215 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.215, allocations: 0 / 1.487 GB, free: 7.215 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002583/1.217, allocations: 0.986 MB / 1.488 GB, free: 6.215 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/1.219, allocations: 373.2 kB / 1.488 GB, free: 5.871 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02489/1.244, allocations: 11.15 MB / 1.499 GB, free: 10.56 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009924/1.245, allocations: 1.26 MB / 1.501 GB, free: 9.273 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001614/1.247, allocations: 394.3 kB / 1.501 GB, free: 8.883 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/1.248, allocations: 0.6671 MB / 1.502 GB, free: 8.215 MB / 1.201 GB Notification: Performance of SimCode: time 8.22e-07/1.248, allocations: 0 / 1.502 GB, free: 8.215 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08349/1.331, allocations: 34.71 MB / 1.535 GB, free: 5.77 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.87, allocations: 4.125 kB / 1.536 GB, free: 5.77 MB / 1.232 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 420.0] 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_2/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: 22.448002783115953]