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.001602/0.001602, allocations: 107.2 kB / 16.45 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.00156/0.00156, allocations: 196.6 kB / 19.41 MB, free: 3.672 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.437/1.437, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.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.603/2.603, allocations: 443.5 MB / 0.7287 GB, free: 13.31 MB / 0.5919 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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.89 kB / 1.056 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9162/0.9182, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01243/0.9306, allocations: 7.444 MB / 1.22 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1997/1.13, allocations: 152.2 MB / 1.369 GB, free: 8.004 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/1.132, allocations: 19.94 kB / 1.369 GB, free: 7.984 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/1.134, allocations: 305.1 kB / 1.369 GB, free: 7.684 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003887/1.138, allocations: 0.8215 MB / 1.37 GB, free: 6.863 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003474/1.141, allocations: 1.133 MB / 1.371 GB, free: 5.734 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004021/1.145, allocations: 2.349 MB / 1.373 GB, free: 3.375 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/1.147, allocations: 0.7775 MB / 1.374 GB, free: 2.547 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/1.149, allocations: 0.9034 MB / 1.375 GB, free: 1.641 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/1.151, allocations: 0.9882 MB / 1.376 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005645/1.152, allocations: 264 kB / 1.376 GB, free: 400 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/1.153, allocations: 0.6402 MB / 1.377 GB, free: 15.75 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006306/1.154, allocations: 0.5492 MB / 1.377 GB, free: 15.2 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/1.155, allocations: 1.062 MB / 1.378 GB, free: 14.13 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004817/1.16, allocations: 3.129 MB / 1.381 GB, free: 10.99 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.16, allocations: 0 / 1.381 GB, free: 10.99 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.533e-06/1.16, allocations: 0 / 1.381 GB, free: 10.99 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.702e-05/1.16, allocations: 0 / 1.381 GB, free: 10.99 MB / 1.092 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.005455/1.166, allocations: 2.299 MB / 1.384 GB, free: 8.637 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.166, allocations: 12.58 kB / 1.384 GB, free: 8.625 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003061/1.166, allocations: 236.7 kB / 1.384 GB, free: 8.383 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006103/1.172, allocations: 0.8697 MB / 1.385 GB, free: 7.512 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/1.175, allocations: 1.118 MB / 1.386 GB, free: 6.348 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/1.175, allocations: 123.2 kB / 1.386 GB, free: 6.227 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/1.175, allocations: 160 kB / 1.386 GB, free: 6.07 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005038/1.18, allocations: 2.051 MB / 1.388 GB, free: 3.969 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/1.18, allocations: 7.922 kB / 1.388 GB, free: 3.961 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/1.181, allocations: 68 kB / 1.388 GB, free: 3.895 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/1.181, allocations: 40 kB / 1.388 GB, free: 3.855 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006505/1.187, allocations: 2.444 MB / 1.391 GB, free: 1.406 MB / 1.092 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.01177/1.199, allocations: 5.663 MB / 1.396 GB, free: 11.56 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004384/1.203, allocations: 1.613 MB / 1.398 GB, free: 9.941 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/1.205, allocations: 0.7347 MB / 1.398 GB, free: 9.207 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007804/1.206, allocations: 491.1 kB / 1.399 GB, free: 8.633 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003499/1.21, allocations: 1.071 MB / 1.4 GB, free: 7.543 MB / 1.107 GB Notification: Performance of pre-optimization done (n=139): time 3.517e-06/1.21, allocations: 0 / 1.4 GB, free: 7.543 MB / 1.107 GB Notification: Performance of matching and sorting (n=139): time 0.01106/1.221, allocations: 2.61 MB / 1.403 GB, free: 4.91 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/1.221, allocations: 193.2 kB / 1.403 GB, free: 4.676 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/1.222, allocations: 0.8824 MB / 1.404 GB, free: 3.77 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002294/1.223, allocations: 61.69 kB / 1.404 GB, free: 3.703 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007025/1.223, allocations: 0.6459 MB / 1.404 GB, free: 3.047 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005403/1.224, allocations: 472 kB / 1.405 GB, free: 2.582 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005057/1.224, allocations: 254.8 kB / 1.405 GB, free: 2.328 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.225, allocations: 353.9 kB / 1.405 GB, free: 1.977 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/1.227, allocations: 0.6662 MB / 1.406 GB, free: 1.309 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/1.229, allocations: 0.8275 MB / 1.407 GB, free: 460 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004295/1.233, allocations: 1.447 MB / 1.408 GB, free: 14.99 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.233, allocations: 0 / 1.408 GB, free: 14.99 MB / 1.123 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005348/1.239, allocations: 1.793 MB / 1.41 GB, free: 13.18 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.239, allocations: 4 kB / 1.41 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.239, allocations: 4 kB / 1.41 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/1.239, allocations: 88.77 kB / 1.41 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/1.241, allocations: 331.5 kB / 1.41 GB, free: 12.76 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/1.244, allocations: 1.643 MB / 1.412 GB, free: 10.97 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/1.245, allocations: 210 kB / 1.412 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/1.246, allocations: 55.94 kB / 1.412 GB, free: 10.71 MB / 1.123 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.0008743/1.246, allocations: 383.8 kB / 1.413 GB, free: 10.33 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/1.247, allocations: 135.2 kB / 1.413 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006727/1.253, allocations: 2.21 MB / 1.415 GB, free: 7.973 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.27e-05/1.254, allocations: 27.91 kB / 1.415 GB, free: 7.945 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.254, allocations: 0 / 1.415 GB, free: 7.945 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/1.254, allocations: 7.984 kB / 1.415 GB, free: 7.938 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/1.257, allocations: 1.8 MB / 1.417 GB, free: 6.086 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.257, allocations: 0 / 1.417 GB, free: 6.086 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002477/1.26, allocations: 307.6 kB / 1.417 GB, free: 5.785 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006181/1.26, allocations: 80.72 kB / 1.417 GB, free: 5.703 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002386/1.26, allocations: 43.95 kB / 1.417 GB, free: 5.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/1.263, allocations: 1.674 MB / 1.419 GB, free: 3.844 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.263, allocations: 4.062 kB / 1.419 GB, free: 3.84 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005719/1.269, allocations: 1.922 MB / 1.421 GB, free: 1.895 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.27, allocations: 443.7 kB / 1.421 GB, free: 1.441 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/1.27, allocations: 35.89 kB / 1.421 GB, free: 1.406 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/1.272, allocations: 143.8 kB / 1.421 GB, free: 1.266 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/1.272, allocations: 121.1 kB / 1.421 GB, free: 1.148 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.272, allocations: 59.95 kB / 1.421 GB, free: 1.09 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001306/1.273, allocations: 0.6423 MB / 1.422 GB, free: 448 kB / 1.123 GB Notification: Performance of sort global known variables: time 1.11e-07/1.273, allocations: 0 / 1.422 GB, free: 448 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.001682/1.275, allocations: 0.5183 MB / 1.422 GB, free: 15.91 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.01121/1.286, allocations: 3.024 MB / 1.425 GB, free: 13.04 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005232/1.291, allocations: 1.72 MB / 1.427 GB, free: 11.31 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.291, allocations: 4.062 kB / 1.427 GB, free: 11.31 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002554/1.294, allocations: 0.982 MB / 1.428 GB, free: 10.31 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.296, allocations: 365.5 kB / 1.428 GB, free: 9.973 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02495/1.32, allocations: 11.14 MB / 1.439 GB, free: 14.66 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/1.322, allocations: 1.257 MB / 1.44 GB, free: 13.38 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001731/1.323, allocations: 394.2 kB / 1.441 GB, free: 12.98 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.325, allocations: 0.6632 MB / 1.442 GB, free: 12.32 MB / 1.154 GB Notification: Performance of SimCode: time 1.132e-06/1.325, allocations: 4 kB / 1.442 GB, free: 12.32 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09019/1.415, allocations: 34.56 MB / 1.475 GB, free: 10 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/16.29, allocations: 9.719 kB / 1.475 GB, free: 9.996 MB / 1.186 GB " [Timeout remaining time 283] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 420.0] 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: 22.497961899731308]