Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00125/0.00125, allocations: 106.4 kB / 16.45 MB, free: 6.445 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.001306/0.001306, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 497.2 MB / 0.7812 GB, free: 12.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.89 kB / 1.134 GB, free: 13.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.033, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006771/1.04, allocations: 7.393 MB / 1.311 GB, free: 26.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1819/1.222, allocations: 152.3 MB / 1.46 GB, free: 12.1 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/1.224, allocations: 18.28 kB / 1.46 GB, free: 12.1 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/1.226, allocations: 432.1 kB / 1.46 GB, free: 11.85 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002591/1.228, allocations: 0.7684 MB / 1.461 GB, free: 11.36 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/1.231, allocations: 1.125 MB / 1.462 GB, free: 10.71 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003896/1.235, allocations: 2.462 MB / 1.465 GB, free: 9.441 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/1.236, allocations: 0.7802 MB / 1.465 GB, free: 8.941 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/1.238, allocations: 0.9104 MB / 1.466 GB, free: 8.465 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/1.24, allocations: 0.9886 MB / 1.467 GB, free: 7.938 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004384/1.24, allocations: 265.2 kB / 1.467 GB, free: 7.938 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/1.242, allocations: 0.647 MB / 1.468 GB, free: 7.809 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005815/1.243, allocations: 0.5676 MB / 1.469 GB, free: 7.422 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/1.244, allocations: 1.086 MB / 1.47 GB, free: 6.684 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004754/1.248, allocations: 3.177 MB / 1.473 GB, free: 4.645 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.248, allocations: 0 / 1.473 GB, free: 4.645 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.673e-06/1.248, allocations: 0 / 1.473 GB, free: 4.645 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.509e-05/1.249, allocations: 1.094 kB / 1.473 GB, free: 4.645 MB / 1.154 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.005448/1.254, allocations: 2.348 MB / 1.475 GB, free: 2.891 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.254, allocations: 9.062 kB / 1.475 GB, free: 2.891 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002869/1.254, allocations: 235.5 kB / 1.475 GB, free: 2.703 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006038/1.26, allocations: 0.8775 MB / 1.476 GB, free: 2.293 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/1.263, allocations: 1.14 MB / 1.477 GB, free: 1.363 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/1.263, allocations: 124.5 kB / 1.477 GB, free: 1.305 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/1.263, allocations: 157.2 kB / 1.478 GB, free: 1.254 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004547/1.267, allocations: 2.06 MB / 1.48 GB, free: 0 / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/1.267, allocations: 0 / 1.48 GB, free: 0 / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/1.268, allocations: 68.08 kB / 1.48 GB, free: 15.95 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/1.268, allocations: 46.09 kB / 1.48 GB, free: 15.94 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005936/1.274, allocations: 2.452 MB / 1.482 GB, free: 14.74 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/1.284, allocations: 5.924 MB / 1.488 GB, free: 9.973 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004232/1.289, allocations: 1.623 MB / 1.489 GB, free: 9.125 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/1.291, allocations: 0.7327 MB / 1.49 GB, free: 8.527 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007448/1.291, allocations: 490.7 kB / 1.491 GB, free: 7.953 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002499/1.294, allocations: 1.083 MB / 1.492 GB, free: 6.855 MB / 1.17 GB Notification: Performance of pre-optimization done (n=139): time 3.216e-06/1.294, allocations: 0 / 1.492 GB, free: 6.855 MB / 1.17 GB Notification: Performance of matching and sorting (n=139): time 0.007713/1.302, allocations: 2.604 MB / 1.494 GB, free: 4.227 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/1.302, allocations: 230.9 kB / 1.494 GB, free: 3.949 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/1.303, allocations: 0.9406 MB / 1.495 GB, free: 2.988 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001728/1.303, allocations: 53.7 kB / 1.495 GB, free: 2.93 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006121/1.304, allocations: 0.6655 MB / 1.496 GB, free: 2.254 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004488/1.305, allocations: 468 kB / 1.496 GB, free: 1.793 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004569/1.305, allocations: 254.8 kB / 1.497 GB, free: 1.539 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.305, allocations: 361.9 kB / 1.497 GB, free: 1.18 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/1.307, allocations: 0.6662 MB / 1.498 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002049/1.309, allocations: 0.8237 MB / 1.499 GB, free: 15.66 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/1.313, allocations: 1.436 MB / 1.5 GB, free: 14.2 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.313, allocations: 8 kB / 1.5 GB, free: 14.2 MB / 1.186 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00522/1.318, allocations: 1.793 MB / 1.502 GB, free: 12.39 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.318, allocations: 4 kB / 1.502 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.318, allocations: 4 kB / 1.502 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/1.319, allocations: 88.77 kB / 1.502 GB, free: 12.29 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/1.321, allocations: 335.5 kB / 1.502 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/1.323, allocations: 1.656 MB / 1.504 GB, free: 10.17 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/1.325, allocations: 203.2 kB / 1.504 GB, free: 9.969 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/1.325, allocations: 67.88 kB / 1.504 GB, free: 9.902 MB / 1.186 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.0008799/1.326, allocations: 395.8 kB / 1.504 GB, free: 9.508 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/1.326, allocations: 139.1 kB / 1.504 GB, free: 9.371 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005971/1.332, allocations: 2.218 MB / 1.507 GB, free: 7.137 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/1.332, allocations: 16 kB / 1.507 GB, free: 7.121 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/1.332, allocations: 3.938 kB / 1.507 GB, free: 7.117 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.332, allocations: 7.969 kB / 1.507 GB, free: 7.109 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/1.335, allocations: 1.797 MB / 1.508 GB, free: 5.27 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/1.335, allocations: 4 kB / 1.508 GB, free: 5.266 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/1.337, allocations: 315.5 kB / 1.509 GB, free: 4.957 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004557/1.337, allocations: 80.72 kB / 1.509 GB, free: 4.875 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/1.337, allocations: 43.95 kB / 1.509 GB, free: 4.832 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/1.339, allocations: 1.682 MB / 1.511 GB, free: 3.004 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.339, allocations: 4 kB / 1.511 GB, free: 3 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005295/1.345, allocations: 1.926 MB / 1.512 GB, free: 1.051 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009342/1.346, allocations: 451.5 kB / 1.513 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/1.346, allocations: 32 kB / 1.513 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.347, allocations: 147.8 kB / 1.513 GB, free: 424 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/1.347, allocations: 117.1 kB / 1.513 GB, free: 308 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/1.348, allocations: 59.95 kB / 1.513 GB, free: 248 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001032/1.349, allocations: 0.6871 MB / 1.514 GB, free: 15.54 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.349, allocations: 0 / 1.514 GB, free: 15.54 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001527/1.35, allocations: 0.526 MB / 1.514 GB, free: 15.02 MB / 1.201 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.007334/1.357, allocations: 3.025 MB / 1.517 GB, free: 12.16 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004692/1.362, allocations: 1.728 MB / 1.519 GB, free: 10.41 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.362, allocations: 4 kB / 1.519 GB, free: 10.41 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/1.365, allocations: 0.9822 MB / 1.52 GB, free: 9.418 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/1.366, allocations: 393.4 kB / 1.52 GB, free: 9.051 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/1.391, allocations: 11.41 MB / 1.531 GB, free: 13.48 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/1.392, allocations: 1.28 MB / 1.533 GB, free: 12.17 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001738/1.393, allocations: 394.5 kB / 1.533 GB, free: 11.78 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/1.394, allocations: 0.6827 MB / 1.534 GB, free: 11.09 MB / 1.217 GB Notification: Performance of SimCode: time 9.51e-07/1.394, allocations: 0 / 1.534 GB, free: 11.09 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08256/1.477, allocations: 35.82 MB / 1.569 GB, free: 7.633 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/16.01, allocations: 16.16 kB / 1.569 GB, free: 7.621 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.634353055153042]