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.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.001336/0.001336, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001585/0.001585, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.953/2.953, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002311/0.002311, allocations: 71.88 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8812/0.8835, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.007344/0.8908, allocations: 6.555 MB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1903/1.081, allocations: 133.8 MB / 1.324 GB, free: 9.535 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/1.083, allocations: 31.81 kB / 1.324 GB, free: 9.504 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002112/1.085, allocations: 421.6 kB / 1.324 GB, free: 9.09 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003712/1.089, allocations: 0.794 MB / 1.325 GB, free: 8.297 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003502/1.093, allocations: 1.152 MB / 1.326 GB, free: 7.148 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005347/1.098, allocations: 2.49 MB / 1.328 GB, free: 4.652 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002513/1.1, allocations: 0.7468 MB / 1.329 GB, free: 3.855 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/1.103, allocations: 0.9463 MB / 1.33 GB, free: 2.906 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/1.105, allocations: 0.8905 MB / 1.331 GB, free: 2.012 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0008/1.106, allocations: 267.9 kB / 1.331 GB, free: 1.75 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/1.108, allocations: 0.6519 MB / 1.332 GB, free: 1.098 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009876/1.109, allocations: 0.5764 MB / 1.332 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/1.111, allocations: 0.8789 MB / 1.333 GB, free: 15.64 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004246/1.115, allocations: 3.227 MB / 1.336 GB, free: 12.4 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.115, allocations: 0 / 1.336 GB, free: 12.4 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.435e-06/1.115, allocations: 0 / 1.336 GB, free: 12.4 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.594e-05/1.115, allocations: 8 kB / 1.336 GB, free: 12.39 MB / 1.186 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.004889/1.12, allocations: 2.293 MB / 1.339 GB, free: 10.06 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.12, allocations: 8.031 kB / 1.339 GB, free: 10.05 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01781/1.138, allocations: 2.54 MB / 1.341 GB, free: 7.508 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/1.141, allocations: 1.136 MB / 1.342 GB, free: 6.336 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/1.141, allocations: 123.3 kB / 1.342 GB, free: 6.215 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/1.141, allocations: 160 kB / 1.343 GB, free: 6.059 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00992/1.151, allocations: 3.249 MB / 1.346 GB, free: 2.688 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/1.151, allocations: 0 / 1.346 GB, free: 2.688 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/1.152, allocations: 67.98 kB / 1.346 GB, free: 2.621 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/1.152, allocations: 40 kB / 1.346 GB, free: 2.582 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01524/1.167, allocations: 4.103 MB / 1.35 GB, free: 14.47 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01657/1.183, allocations: 6.955 MB / 1.357 GB, free: 6.828 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009026/1.192, allocations: 2.467 MB / 1.359 GB, free: 4.359 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006472/1.199, allocations: 1.586 MB / 1.361 GB, free: 2.77 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/1.199, allocations: 33.28 kB / 1.361 GB, free: 2.738 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007372/1.206, allocations: 2.073 MB / 1.363 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of pre-optimization done (n=139): time 3.416e-06/1.206, allocations: 0 / 1.363 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of matching and sorting (n=139): time 0.0206/1.227, allocations: 4.937 MB / 1.367 GB, free: 11.67 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/1.227, allocations: 218.9 kB / 1.368 GB, free: 11.41 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/1.229, allocations: 0.8598 MB / 1.369 GB, free: 10.52 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002759/1.229, allocations: 57.64 kB / 1.369 GB, free: 10.46 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006736/1.23, allocations: 0.6775 MB / 1.369 GB, free: 9.773 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005445/1.23, allocations: 472 kB / 1.37 GB, free: 9.309 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005847/1.231, allocations: 278.7 kB / 1.37 GB, free: 9.031 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001896/1.231, allocations: 357.9 kB / 1.37 GB, free: 8.676 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006502/1.237, allocations: 1.541 MB / 1.372 GB, free: 7.133 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006764/1.244, allocations: 1.826 MB / 1.374 GB, free: 5.246 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/1.256, allocations: 2.872 MB / 1.376 GB, free: 2.363 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/1.256, allocations: 0 / 1.376 GB, free: 2.363 MB / 1.217 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01459/1.271, allocations: 3.397 MB / 1.38 GB, free: 14.95 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/1.271, allocations: 10.19 kB / 1.38 GB, free: 14.95 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/1.271, allocations: 0 / 1.38 GB, free: 14.95 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006779/1.272, allocations: 84.84 kB / 1.38 GB, free: 14.86 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004094/1.276, allocations: 0.6554 MB / 1.38 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/1.278, allocations: 1.528 MB / 1.382 GB, free: 12.57 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003893/1.282, allocations: 495 kB / 1.382 GB, free: 12.08 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003222/1.283, allocations: 71.98 kB / 1.382 GB, free: 12.01 MB / 1.232 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.001099/1.284, allocations: 412.2 kB / 1.383 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004875/1.284, allocations: 139.1 kB / 1.383 GB, free: 11.46 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/1.299, allocations: 3.822 MB / 1.387 GB, free: 7.625 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/1.299, allocations: 12 kB / 1.387 GB, free: 7.613 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.299, allocations: 0 / 1.387 GB, free: 7.613 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/1.299, allocations: 15.91 kB / 1.387 GB, free: 7.598 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003401/1.303, allocations: 2.189 MB / 1.389 GB, free: 5.066 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/1.303, allocations: 0 / 1.389 GB, free: 5.066 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003822/1.307, allocations: 0.6165 MB / 1.389 GB, free: 4.449 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004865/1.307, allocations: 72.78 kB / 1.39 GB, free: 4.375 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/1.307, allocations: 55.94 kB / 1.39 GB, free: 4.32 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/1.31, allocations: 1.551 MB / 1.391 GB, free: 2.664 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.31, allocations: 0 / 1.391 GB, free: 2.664 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/1.324, allocations: 3.475 MB / 1.395 GB, free: 15.17 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/1.325, allocations: 414.5 kB / 1.395 GB, free: 14.76 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003919/1.325, allocations: 47.83 kB / 1.395 GB, free: 14.71 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003656/1.329, allocations: 451.6 kB / 1.395 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000314/1.329, allocations: 125.1 kB / 1.395 GB, free: 14.15 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001965/1.329, allocations: 63.94 kB / 1.396 GB, free: 14.09 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001142/1.331, allocations: 0.6219 MB / 1.396 GB, free: 13.45 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/1.331, allocations: 0 / 1.396 GB, free: 13.45 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001764/1.332, allocations: 0.5533 MB / 1.397 GB, free: 12.9 MB / 1.248 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.002343/1.335, allocations: 0.6512 MB / 1.397 GB, free: 12.45 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01424/1.349, allocations: 3.461 MB / 1.401 GB, free: 8.973 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/1.349, allocations: 0 / 1.401 GB, free: 8.973 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0074/1.356, allocations: 1.837 MB / 1.403 GB, free: 7.125 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/1.358, allocations: 370.6 kB / 1.403 GB, free: 6.785 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/1.37, allocations: 3.959 MB / 1.407 GB, free: 2.785 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/1.372, allocations: 0.7064 MB / 1.407 GB, free: 2.043 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002557/1.374, allocations: 441.7 kB / 1.408 GB, free: 1.609 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009322/1.375, allocations: 172.4 kB / 1.408 GB, free: 1.441 MB / 1.248 GB Notification: Performance of SimCode: time 1.352e-06/1.375, allocations: 3.938 kB / 1.408 GB, free: 1.438 MB / 1.248 GB Notification: Performance of Templates: time 0.0504/1.426, allocations: 27.51 MB / 1.435 GB, free: 6.18 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 800] 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/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: 10.537399849039502]