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.00191/0.00191, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002363/0.002363, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.636/1.636, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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 3.414/3.414, allocations: 0.49 GB / 0.7959 GB, free: 35.65 MB / 0.6231 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.002052/0.002052, allocations: 72.38 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3921, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01042/0.4025, allocations: 6.555 MB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1932/0.5957, allocations: 133.8 MB / 1.464 GB, free: 4.059 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.5975, allocations: 31.75 kB / 1.464 GB, free: 4.027 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.5993, allocations: 434.1 kB / 1.465 GB, free: 3.602 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.6025, allocations: 0.7808 MB / 1.465 GB, free: 2.82 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.6055, allocations: 1.158 MB / 1.466 GB, free: 1.668 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003633/0.6091, allocations: 2.49 MB / 1.469 GB, free: 15.17 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.6105, allocations: 0.7706 MB / 1.47 GB, free: 14.35 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.6121, allocations: 0.9424 MB / 1.471 GB, free: 13.4 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.6134, allocations: 1.004 MB / 1.472 GB, free: 12.39 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.6137, allocations: 276 kB / 1.472 GB, free: 12.12 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.615, allocations: 0.6598 MB / 1.472 GB, free: 11.46 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005386/0.6155, allocations: 0.5764 MB / 1.473 GB, free: 10.89 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009503/0.6165, allocations: 0.8712 MB / 1.474 GB, free: 10.01 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003913/0.6204, allocations: 3.238 MB / 1.477 GB, free: 6.762 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6204, allocations: 0 / 1.477 GB, free: 6.762 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6204, allocations: 0 / 1.477 GB, free: 6.762 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.752e-05/0.6204, allocations: 0 / 1.477 GB, free: 6.762 MB / 1.17 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.005121/0.6256, allocations: 2.293 MB / 1.479 GB, free: 4.426 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.6256, allocations: 16.03 kB / 1.479 GB, free: 4.41 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008355/0.634, allocations: 1.002 MB / 1.48 GB, free: 3.406 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.6364, allocations: 1.085 MB / 1.481 GB, free: 2.285 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.6365, allocations: 127.2 kB / 1.481 GB, free: 2.16 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002895/0.6368, allocations: 156 kB / 1.482 GB, free: 2.008 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005307/0.6421, allocations: 2.34 MB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.6421, allocations: 0 / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.6423, allocations: 64 kB / 1.484 GB, free: 15.48 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.6424, allocations: 40 kB / 1.484 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00648/0.6489, allocations: 2.401 MB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/0.6593, allocations: 4.422 MB / 1.491 GB, free: 8.555 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00457/0.6639, allocations: 1.604 MB / 1.492 GB, free: 6.941 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/0.666, allocations: 0.724 MB / 1.493 GB, free: 6.215 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006057/0.6666, allocations: 97.19 kB / 1.493 GB, free: 6.121 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00279/0.6694, allocations: 1.179 MB / 1.494 GB, free: 4.895 MB / 1.186 GB Notification: Performance of pre-optimization done (n=139): time 3.857e-06/0.6694, allocations: 0 / 1.494 GB, free: 4.895 MB / 1.186 GB Notification: Performance of matching and sorting (n=139): time 0.008103/0.6775, allocations: 2.536 MB / 1.497 GB, free: 2.352 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/0.6777, allocations: 222.9 kB / 1.497 GB, free: 2.086 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.6791, allocations: 0.8559 MB / 1.498 GB, free: 1.203 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.6793, allocations: 53.7 kB / 1.498 GB, free: 1.145 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007754/0.6801, allocations: 0.6732 MB / 1.498 GB, free: 472 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005173/0.6806, allocations: 476 kB / 1.499 GB, free: 15.99 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005336/0.6811, allocations: 270.7 kB / 1.499 GB, free: 15.72 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6813, allocations: 353.9 kB / 1.499 GB, free: 15.37 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.6833, allocations: 0.6975 MB / 1.5 GB, free: 14.67 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.6856, allocations: 0.9827 MB / 1.501 GB, free: 13.63 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004114/0.6897, allocations: 1.467 MB / 1.503 GB, free: 12.15 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.6897, allocations: 0 / 1.503 GB, free: 12.15 MB / 1.201 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005549/0.6953, allocations: 1.844 MB / 1.504 GB, free: 10.3 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.6953, allocations: 14.03 kB / 1.504 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6953, allocations: 4 kB / 1.504 GB, free: 10.28 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006577/0.696, allocations: 84.75 kB / 1.504 GB, free: 10.2 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/0.698, allocations: 347.5 kB / 1.505 GB, free: 9.855 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.7003, allocations: 1.526 MB / 1.506 GB, free: 8.223 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.7025, allocations: 183.3 kB / 1.506 GB, free: 8.043 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/0.7027, allocations: 67.94 kB / 1.506 GB, free: 7.977 MB / 1.201 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.001025/0.7037, allocations: 408.9 kB / 1.507 GB, free: 7.566 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003921/0.7041, allocations: 127.1 kB / 1.507 GB, free: 7.441 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006523/0.7107, allocations: 2.214 MB / 1.509 GB, free: 5.211 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.7107, allocations: 16 kB / 1.509 GB, free: 5.195 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.7107, allocations: 4 kB / 1.509 GB, free: 5.191 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.7107, allocations: 7.969 kB / 1.509 GB, free: 5.184 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.713, allocations: 1.281 MB / 1.51 GB, free: 3.871 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.713, allocations: 0 / 1.51 GB, free: 3.871 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/0.7149, allocations: 307.6 kB / 1.511 GB, free: 3.57 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005115/0.7154, allocations: 84.7 kB / 1.511 GB, free: 3.484 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.7155, allocations: 43.95 kB / 1.511 GB, free: 3.441 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.7177, allocations: 1.54 MB / 1.512 GB, free: 1.797 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7177, allocations: 0 / 1.512 GB, free: 1.797 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005763/0.7235, allocations: 1.926 MB / 1.514 GB, free: 15.85 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.7245, allocations: 350.6 kB / 1.515 GB, free: 15.51 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/0.7248, allocations: 39.94 kB / 1.515 GB, free: 15.47 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/0.7264, allocations: 151.8 kB / 1.515 GB, free: 15.32 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/0.7267, allocations: 117.1 kB / 1.515 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/0.7269, allocations: 63.94 kB / 1.515 GB, free: 15.14 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009573/0.7278, allocations: 0.618 MB / 1.516 GB, free: 14.51 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/0.7278, allocations: 0 / 1.516 GB, free: 14.51 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001538/0.7293, allocations: 0.5376 MB / 1.516 GB, free: 13.97 MB / 1.217 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.002322/0.7317, allocations: 0.6888 MB / 1.517 GB, free: 13.49 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005281/0.737, allocations: 1.763 MB / 1.518 GB, free: 11.71 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.737, allocations: 0 / 1.518 GB, free: 11.71 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002696/0.7397, allocations: 0.9783 MB / 1.519 GB, free: 10.72 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.7414, allocations: 375.4 kB / 1.52 GB, free: 10.38 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006984/0.7484, allocations: 3.11 MB / 1.523 GB, free: 7.23 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000934/0.7493, allocations: 0.7058 MB / 1.523 GB, free: 6.488 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001753/0.7511, allocations: 397.7 kB / 1.524 GB, free: 6.098 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006271/0.7517, allocations: 171.3 kB / 1.524 GB, free: 5.93 MB / 1.217 GB Notification: Performance of SimCode: time 1.603e-06/0.7517, allocations: 0 / 1.524 GB, free: 5.93 MB / 1.217 GB Notification: Performance of Templates: time 0.04685/0.7986, allocations: 27.01 MB / 1.55 GB, free: 11.24 MB / 1.248 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 cvode -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.749657222011592]