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.001497/0.001497, allocations: 107.2 kB / 16.45 MB, free: 6.449 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.001461/0.001461, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.272/3.272, allocations: 0.4899 GB / 0.7915 GB, free: 33.64 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.002011/0.002011, allocations: 72.86 kB / 1.149 GB, free: 26.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4367, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01283/0.4496, allocations: 7.432 MB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2112/0.6608, allocations: 155.2 MB / 1.48 GB, free: 15.56 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.663, allocations: 27.81 kB / 1.48 GB, free: 15.54 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.6649, allocations: 436.5 kB / 1.48 GB, free: 15.11 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.6684, allocations: 0.7791 MB / 1.481 GB, free: 14.33 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.6717, allocations: 1.149 MB / 1.482 GB, free: 13.18 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00456/0.6763, allocations: 2.486 MB / 1.485 GB, free: 10.69 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.6778, allocations: 0.7698 MB / 1.486 GB, free: 9.863 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.6797, allocations: 0.9502 MB / 1.486 GB, free: 8.91 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.6817, allocations: 0.9999 MB / 1.487 GB, free: 7.906 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004083/0.6821, allocations: 268 kB / 1.488 GB, free: 7.645 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.6839, allocations: 0.687 MB / 1.488 GB, free: 6.957 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006805/0.6845, allocations: 0.5686 MB / 1.489 GB, free: 6.387 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.686, allocations: 1.085 MB / 1.49 GB, free: 5.297 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004712/0.6907, allocations: 3.223 MB / 1.493 GB, free: 2.062 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6907, allocations: 0 / 1.493 GB, free: 2.062 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6907, allocations: 4 kB / 1.493 GB, free: 2.059 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.77e-05/0.6908, allocations: 0 / 1.493 GB, free: 2.059 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.005266/0.696, allocations: 2.376 MB / 1.495 GB, free: 15.62 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.6961, allocations: 11.98 kB / 1.495 GB, free: 15.61 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007982/0.7041, allocations: 1.01 MB / 1.496 GB, free: 14.6 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.7064, allocations: 1.15 MB / 1.498 GB, free: 13.41 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.7065, allocations: 127.1 kB / 1.498 GB, free: 13.28 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/0.7068, allocations: 160 kB / 1.498 GB, free: 13.12 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005172/0.712, allocations: 2.06 MB / 1.5 GB, free: 11.01 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.712, allocations: 0 / 1.5 GB, free: 11.01 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.7122, allocations: 68 kB / 1.5 GB, free: 10.95 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.287e-05/0.7122, allocations: 40 kB / 1.5 GB, free: 10.91 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006491/0.7187, allocations: 2.452 MB / 1.502 GB, free: 8.449 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.7306, allocations: 5.935 MB / 1.508 GB, free: 2.273 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004623/0.7352, allocations: 1.611 MB / 1.51 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002098/0.7373, allocations: 0.7308 MB / 1.51 GB, free: 15.93 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008184/0.7381, allocations: 494.7 kB / 1.511 GB, free: 15.35 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002788/0.7409, allocations: 1.075 MB / 1.512 GB, free: 14.26 MB / 1.217 GB Notification: Performance of pre-optimization done (n=139): time 2.905e-06/0.7409, allocations: 4 kB / 1.512 GB, free: 14.25 MB / 1.217 GB Notification: Performance of matching and sorting (n=139): time 0.008688/0.7496, allocations: 2.615 MB / 1.515 GB, free: 11.61 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/0.7498, allocations: 230.9 kB / 1.515 GB, free: 11.34 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.7517, allocations: 0.9651 MB / 1.516 GB, free: 10.35 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002564/0.752, allocations: 53.7 kB / 1.516 GB, free: 10.29 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007369/0.7527, allocations: 0.6655 MB / 1.516 GB, free: 9.617 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005823/0.7533, allocations: 476 kB / 1.517 GB, free: 9.148 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006004/0.7539, allocations: 266.8 kB / 1.517 GB, free: 8.883 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.7541, allocations: 357.9 kB / 1.517 GB, free: 8.527 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.7564, allocations: 0.6936 MB / 1.518 GB, free: 7.832 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/0.7588, allocations: 0.8242 MB / 1.519 GB, free: 6.988 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004465/0.7632, allocations: 1.471 MB / 1.52 GB, free: 5.5 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.7633, allocations: 0 / 1.52 GB, free: 5.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006143/0.7694, allocations: 1.852 MB / 1.522 GB, free: 3.637 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.7694, allocations: 5.875 kB / 1.522 GB, free: 3.633 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7694, allocations: 0 / 1.522 GB, free: 3.633 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006516/0.7701, allocations: 84.84 kB / 1.522 GB, free: 3.547 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/0.7721, allocations: 351.4 kB / 1.523 GB, free: 3.203 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.7748, allocations: 1.648 MB / 1.524 GB, free: 1.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.7768, allocations: 211.1 kB / 1.524 GB, free: 1.203 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.7769, allocations: 67.92 kB / 1.524 GB, free: 1.137 MB / 1.217 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.001023/0.778, allocations: 413.8 kB / 1.525 GB, free: 0.7227 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/0.7784, allocations: 147.1 kB / 1.525 GB, free: 0.5781 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007052/0.7854, allocations: 2.219 MB / 1.527 GB, free: 14.34 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.7854, allocations: 19.94 kB / 1.527 GB, free: 14.32 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.7854, allocations: 3.938 kB / 1.527 GB, free: 14.32 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.7854, allocations: 7.969 kB / 1.527 GB, free: 14.31 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.7883, allocations: 1.817 MB / 1.529 GB, free: 12.45 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.7883, allocations: 0 / 1.529 GB, free: 12.45 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/0.7902, allocations: 307.6 kB / 1.529 GB, free: 12.15 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005792/0.7908, allocations: 76.78 kB / 1.529 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/0.7909, allocations: 55.89 kB / 1.529 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002207/0.7931, allocations: 1.674 MB / 1.531 GB, free: 10.2 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7931, allocations: 0 / 1.531 GB, free: 10.2 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00615/0.7993, allocations: 1.938 MB / 1.533 GB, free: 8.234 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009237/0.8002, allocations: 451.5 kB / 1.533 GB, free: 7.773 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.8005, allocations: 35.95 kB / 1.533 GB, free: 7.738 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.8021, allocations: 143.8 kB / 1.534 GB, free: 7.598 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.8023, allocations: 113.1 kB / 1.534 GB, free: 7.488 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/0.8025, allocations: 67.89 kB / 1.534 GB, free: 7.422 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001283/0.8038, allocations: 0.6993 MB / 1.534 GB, free: 6.715 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.8038, allocations: 0 / 1.534 GB, free: 6.715 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001555/0.8053, allocations: 0.526 MB / 1.535 GB, free: 6.188 MB / 1.232 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.002185/0.8075, allocations: 0.6443 MB / 1.536 GB, free: 5.715 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0057/0.8132, allocations: 1.763 MB / 1.537 GB, free: 3.941 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.8132, allocations: 0 / 1.537 GB, free: 3.941 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002808/0.816, allocations: 0.9861 MB / 1.538 GB, free: 2.941 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.8179, allocations: 400.7 kB / 1.539 GB, free: 2.578 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006968/0.8249, allocations: 3.121 MB / 1.542 GB, free: 15.42 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.826, allocations: 1.288 MB / 1.543 GB, free: 14.1 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002004/0.828, allocations: 398.6 kB / 1.543 GB, free: 13.71 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006948/0.8287, allocations: 175.3 kB / 1.543 GB, free: 13.54 MB / 1.248 GB Notification: Performance of SimCode: time 1.734e-06/0.8287, allocations: 0 / 1.543 GB, free: 13.54 MB / 1.248 GB Notification: Performance of Templates: time 0.05241/0.8811, allocations: 25.81 MB / 1.569 GB, free: 3.941 MB / 1.264 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 -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/jenkins/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.610812989994884]