Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001348/0.001348, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.00149/0.00149, allocations: 164.6 kB / 23.01 MB, free: 4.598 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.443/1.443, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.837/2.837, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002113/0.002113, allocations: 63.89 kB / 0.9819 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9889/0.9911, allocations: 176.1 MB / 1.154 GB, free: 33.27 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006818/0.9979, allocations: 6.543 MB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2056/1.203, allocations: 133.8 MB / 1.291 GB, free: 2.66 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/1.205, allocations: 31.47 kB / 1.291 GB, free: 2.645 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/1.207, allocations: 420.6 kB / 1.291 GB, free: 2.406 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003144/1.21, allocations: 0.7827 MB / 1.292 GB, free: 1.906 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/1.213, allocations: 1.154 MB / 1.293 GB, free: 1.242 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003939/1.217, allocations: 2.484 MB / 1.296 GB, free: 15.95 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/1.219, allocations: 0.7537 MB / 1.296 GB, free: 15.48 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/1.22, allocations: 0.9492 MB / 1.297 GB, free: 14.99 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/1.222, allocations: 0.8909 MB / 1.298 GB, free: 14.56 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004411/1.223, allocations: 266.6 kB / 1.299 GB, free: 14.56 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/1.224, allocations: 0.6472 MB / 1.299 GB, free: 14.45 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007161/1.225, allocations: 0.5752 MB / 1.3 GB, free: 14.05 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001365/1.226, allocations: 0.8704 MB / 1.301 GB, free: 13.53 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005252/1.232, allocations: 3.24 MB / 1.304 GB, free: 11.19 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.232, allocations: 1.344 kB / 1.304 GB, free: 11.19 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.693e-06/1.232, allocations: 0 / 1.304 GB, free: 11.19 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.638e-05/1.232, allocations: 0 / 1.304 GB, free: 11.19 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.005737/1.237, allocations: 2.298 MB / 1.306 GB, free: 9.508 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/1.237, allocations: 9.438 kB / 1.306 GB, free: 9.508 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008183/1.246, allocations: 1.012 MB / 1.307 GB, free: 9.051 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/1.248, allocations: 1.089 MB / 1.308 GB, free: 8.184 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/1.248, allocations: 121.3 kB / 1.308 GB, free: 8.129 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/1.249, allocations: 152.9 kB / 1.308 GB, free: 8.082 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005566/1.254, allocations: 2.339 MB / 1.311 GB, free: 6.484 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/1.254, allocations: 1.125 kB / 1.311 GB, free: 6.484 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/1.255, allocations: 66.59 kB / 1.311 GB, free: 6.434 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/1.255, allocations: 44.03 kB / 1.311 GB, free: 6.43 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006791/1.261, allocations: 2.4 MB / 1.313 GB, free: 5.23 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/1.273, allocations: 4.413 MB / 1.317 GB, free: 1.09 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004775/1.278, allocations: 1.613 MB / 1.319 GB, free: 15.48 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/1.28, allocations: 0.7272 MB / 1.32 GB, free: 14.74 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006171/1.281, allocations: 101.2 kB / 1.32 GB, free: 14.64 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002902/1.284, allocations: 1.176 MB / 1.321 GB, free: 13.42 MB / 1.17 GB Notification: Performance of pre-optimization done (n=139): time 3.447e-06/1.284, allocations: 0 / 1.321 GB, free: 13.42 MB / 1.17 GB Notification: Performance of matching and sorting (n=139): time 0.008468/1.292, allocations: 2.532 MB / 1.323 GB, free: 10.88 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/1.292, allocations: 222.9 kB / 1.324 GB, free: 10.62 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/1.294, allocations: 0.8559 MB / 1.324 GB, free: 9.734 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002178/1.294, allocations: 57.69 kB / 1.324 GB, free: 9.672 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007056/1.295, allocations: 0.6654 MB / 1.325 GB, free: 8.996 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005255/1.295, allocations: 480.1 kB / 1.326 GB, free: 8.523 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005086/1.296, allocations: 270.7 kB / 1.326 GB, free: 8.25 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002169/1.296, allocations: 357.9 kB / 1.326 GB, free: 7.895 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/1.298, allocations: 0.6936 MB / 1.327 GB, free: 7.203 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002587/1.301, allocations: 0.9786 MB / 1.328 GB, free: 6.168 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004309/1.305, allocations: 1.463 MB / 1.329 GB, free: 4.691 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/1.305, allocations: 7.938 kB / 1.329 GB, free: 4.684 MB / 1.17 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005814/1.311, allocations: 1.844 MB / 1.331 GB, free: 2.828 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.311, allocations: 8 kB / 1.331 GB, free: 2.82 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.311, allocations: 0 / 1.331 GB, free: 2.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/1.312, allocations: 88.83 kB / 1.331 GB, free: 2.73 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/1.314, allocations: 339.5 kB / 1.331 GB, free: 2.398 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/1.316, allocations: 1.52 MB / 1.333 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/1.318, allocations: 191.3 kB / 1.333 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/1.318, allocations: 63.94 kB / 1.333 GB, free: 0.5156 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: 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.001029/1.319, allocations: 408.2 kB / 1.334 GB, free: 108 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/1.319, allocations: 131.1 kB / 1.334 GB, free: 15.98 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006369/1.326, allocations: 2.221 MB / 1.336 GB, free: 13.74 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/1.326, allocations: 12 kB / 1.336 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.326, allocations: 4 kB / 1.336 GB, free: 13.72 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/1.326, allocations: 7.969 kB / 1.336 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/1.328, allocations: 1.277 MB / 1.337 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.328, allocations: 0 / 1.337 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/1.33, allocations: 319.5 kB / 1.337 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/1.33, allocations: 72.78 kB / 1.337 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/1.33, allocations: 47.94 kB / 1.338 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/1.332, allocations: 1.551 MB / 1.339 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.332, allocations: 4.062 kB / 1.339 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00537/1.338, allocations: 1.922 MB / 1.341 GB, free: 8.367 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008097/1.338, allocations: 350.6 kB / 1.341 GB, free: 8.023 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/1.339, allocations: 43.89 kB / 1.341 GB, free: 7.98 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.34, allocations: 138.2 kB / 1.341 GB, free: 7.848 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/1.34, allocations: 121.2 kB / 1.342 GB, free: 7.727 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/1.341, allocations: 63.94 kB / 1.342 GB, free: 7.664 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009484/1.342, allocations: 0.618 MB / 1.342 GB, free: 7.035 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.342, allocations: 7.938 kB / 1.342 GB, free: 7.027 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001611/1.343, allocations: 0.5376 MB / 1.343 GB, free: 6.488 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.002256/1.345, allocations: 0.6744 MB / 1.343 GB, free: 6.02 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005129/1.351, allocations: 1.759 MB / 1.345 GB, free: 4.246 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.351, allocations: 0 / 1.345 GB, free: 4.246 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002733/1.353, allocations: 0.986 MB / 1.346 GB, free: 3.25 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/1.355, allocations: 384.9 kB / 1.346 GB, free: 2.898 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006629/1.362, allocations: 3.101 MB / 1.349 GB, free: 15.76 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008305/1.363, allocations: 0.7096 MB / 1.35 GB, free: 15.02 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001627/1.364, allocations: 393.8 kB / 1.351 GB, free: 14.63 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005862/1.365, allocations: 168.4 kB / 1.351 GB, free: 14.46 MB / 1.201 GB Notification: Performance of SimCode: time 1.262e-06/1.365, allocations: 0 / 1.351 GB, free: 14.46 MB / 1.201 GB Notification: Performance of Templates: time 0.0456/1.41, allocations: 24.65 MB / 1.375 GB, free: 6.152 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.499401969020255]