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.001336/0.001336, allocations: 109.4 kB / 16.4 MB, free: 6.508 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.002034/0.002034, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.414/1.414, allocations: 222.9 MB / 245 MB, free: 15.01 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.789/2.789, allocations: 469.8 MB / 0.7491 GB, free: 2.984 MB / 0.6075 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.001952/0.001952, allocations: 68.12 kB / 1.073 GB, free: 136 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8487/0.8507, allocations: 159.1 MB / 1.229 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01039/0.8611, allocations: 7.379 MB / 1.236 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1913/1.052, allocations: 151.8 MB / 1.384 GB, free: 5.094 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/1.054, allocations: 19.94 kB / 1.384 GB, free: 5.074 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/1.055, allocations: 309 kB / 1.384 GB, free: 4.77 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003087/1.058, allocations: 0.8037 MB / 1.385 GB, free: 3.965 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002922/1.061, allocations: 1.132 MB / 1.386 GB, free: 2.84 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003376/1.065, allocations: 2.365 MB / 1.389 GB, free: 480 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/1.067, allocations: 1.164 MB / 1.39 GB, free: 15.25 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/1.068, allocations: 0.8917 MB / 1.391 GB, free: 14.36 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/1.07, allocations: 0.9765 MB / 1.392 GB, free: 13.38 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006032/1.071, allocations: 264 kB / 1.392 GB, free: 13.12 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/1.072, allocations: 0.6441 MB / 1.392 GB, free: 12.47 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006029/1.073, allocations: 0.5492 MB / 1.393 GB, free: 11.92 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/1.074, allocations: 1.065 MB / 1.394 GB, free: 10.85 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006322/1.081, allocations: 3.126 MB / 1.397 GB, free: 7.715 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/1.081, allocations: 0 / 1.397 GB, free: 7.715 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.304e-06/1.081, allocations: 0 / 1.397 GB, free: 7.715 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.638e-05/1.081, allocations: 0 / 1.397 GB, free: 7.715 MB / 1.107 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.007442/1.088, allocations: 2.291 MB / 1.399 GB, free: 5.363 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 8.082e-05/1.088, allocations: 16.02 kB / 1.399 GB, free: 5.348 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004421/1.089, allocations: 232.7 kB / 1.399 GB, free: 5.109 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009364/1.098, allocations: 0.8736 MB / 1.4 GB, free: 4.234 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003513/1.102, allocations: 1.111 MB / 1.401 GB, free: 3.078 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/1.102, allocations: 131.2 kB / 1.402 GB, free: 2.949 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004952/1.102, allocations: 160 kB / 1.402 GB, free: 2.793 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007527/1.11, allocations: 2.051 MB / 1.404 GB, free: 0.6914 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/1.11, allocations: 0 / 1.404 GB, free: 0.6914 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/1.11, allocations: 75.98 kB / 1.404 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/1.11, allocations: 40 kB / 1.404 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007972/1.118, allocations: 2.444 MB / 1.406 GB, free: 14.13 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.01594/1.134, allocations: 5.643 MB / 1.412 GB, free: 8.309 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006989/1.141, allocations: 1.722 MB / 1.413 GB, free: 6.578 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003063/1.144, allocations: 0.8051 MB / 1.414 GB, free: 5.773 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/1.146, allocations: 486.9 kB / 1.415 GB, free: 5.203 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003949/1.15, allocations: 1.075 MB / 1.416 GB, free: 4.109 MB / 1.123 GB Notification: Performance of pre-optimization done (n=139): time 5.22e-06/1.15, allocations: 0 / 1.416 GB, free: 4.109 MB / 1.123 GB Notification: Performance of matching and sorting (n=139): time 0.01179/1.161, allocations: 2.602 MB / 1.418 GB, free: 1.484 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001862/1.162, allocations: 205.2 kB / 1.418 GB, free: 1.238 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/1.164, allocations: 0.8824 MB / 1.419 GB, free: 340 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002412/1.164, allocations: 53.7 kB / 1.419 GB, free: 280 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009009/1.165, allocations: 0.6421 MB / 1.42 GB, free: 15.62 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000691/1.166, allocations: 479.9 kB / 1.42 GB, free: 15.15 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007837/1.166, allocations: 254.8 kB / 1.421 GB, free: 14.89 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000227/1.167, allocations: 353.9 kB / 1.421 GB, free: 14.54 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/1.17, allocations: 0.6701 MB / 1.422 GB, free: 13.87 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003357/1.173, allocations: 0.8237 MB / 1.422 GB, free: 13.02 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006086/1.179, allocations: 1.443 MB / 1.424 GB, free: 11.56 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.179, allocations: 0 / 1.424 GB, free: 11.56 MB / 1.139 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.007884/1.187, allocations: 1.793 MB / 1.426 GB, free: 9.754 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/1.187, allocations: 4 kB / 1.426 GB, free: 9.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.187, allocations: 0 / 1.426 GB, free: 9.75 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000793/1.188, allocations: 92.77 kB / 1.426 GB, free: 9.656 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/1.191, allocations: 331.5 kB / 1.426 GB, free: 9.332 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/1.194, allocations: 1.646 MB / 1.428 GB, free: 7.543 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/1.196, allocations: 204.5 kB / 1.428 GB, free: 7.344 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/1.196, allocations: 55.94 kB / 1.428 GB, free: 7.289 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: 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.001235/1.198, allocations: 386.1 kB / 1.428 GB, free: 6.906 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000554/1.198, allocations: 135.1 kB / 1.428 GB, free: 6.773 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009388/1.208, allocations: 2.218 MB / 1.431 GB, free: 4.539 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/1.208, allocations: 19.94 kB / 1.431 GB, free: 4.52 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.208, allocations: 0 / 1.431 GB, free: 4.52 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.05e-05/1.208, allocations: 11.95 kB / 1.431 GB, free: 4.508 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004268/1.212, allocations: 1.792 MB / 1.432 GB, free: 2.672 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/1.212, allocations: 7.875 kB / 1.432 GB, free: 2.664 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002516/1.215, allocations: 307.6 kB / 1.433 GB, free: 2.363 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000629/1.215, allocations: 80.72 kB / 1.433 GB, free: 2.281 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002599/1.216, allocations: 43.95 kB / 1.433 GB, free: 2.238 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/1.218, allocations: 1.682 MB / 1.434 GB, free: 420 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.218, allocations: 4.062 kB / 1.434 GB, free: 416 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008704/1.227, allocations: 1.922 MB / 1.436 GB, free: 14.46 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.229, allocations: 443.7 kB / 1.437 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000578/1.229, allocations: 39.88 kB / 1.437 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/1.232, allocations: 143.8 kB / 1.437 GB, free: 13.82 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004514/1.232, allocations: 117.1 kB / 1.437 GB, free: 13.71 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002789/1.232, allocations: 59.95 kB / 1.437 GB, free: 13.65 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001795/1.234, allocations: 0.6423 MB / 1.438 GB, free: 13 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.11e-07/1.234, allocations: 4 kB / 1.438 GB, free: 13 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002268/1.237, allocations: 0.5181 MB / 1.438 GB, free: 12.48 MB / 1.154 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.01119/1.248, allocations: 3.011 MB / 1.441 GB, free: 9.629 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007396/1.255, allocations: 1.798 MB / 1.443 GB, free: 7.82 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.255, allocations: 0 / 1.443 GB, free: 7.82 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003949/1.259, allocations: 1.056 MB / 1.444 GB, free: 6.75 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/1.262, allocations: 360.9 kB / 1.444 GB, free: 6.418 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02664/1.288, allocations: 11.14 MB / 1.455 GB, free: 11.11 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/1.29, allocations: 1.26 MB / 1.456 GB, free: 9.82 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001888/1.292, allocations: 402.2 kB / 1.457 GB, free: 9.422 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/1.293, allocations: 0.6632 MB / 1.457 GB, free: 8.758 MB / 1.17 GB Notification: Performance of SimCode: time 8.91e-07/1.293, allocations: 0 / 1.457 GB, free: 8.758 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09043/1.383, allocations: 34.37 MB / 1.491 GB, free: 6.777 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/16.27, allocations: 14.27 kB / 1.491 GB, free: 6.766 MB / 1.201 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.555821281159297]