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.001308/0.001308, allocations: 106.6 kB / 17.08 MB, free: 5.992 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.001378/0.001379, allocations: 195.6 kB / 20.03 MB, free: 3.059 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.434/1.434, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.987/2.987, allocations: 489.2 MB / 0.7687 GB, free: 3.707 MB / 0.6075 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: 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: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.88 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8839/0.8858, allocations: 163.8 MB / 1.263 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008707/0.8946, allocations: 7.359 MB / 1.27 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2021/1.097, allocations: 151.8 MB / 1.418 GB, free: 1.824 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002823/1.1, allocations: 22.94 kB / 1.418 GB, free: 1.816 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002566/1.102, allocations: 427.8 kB / 1.418 GB, free: 1.492 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004441/1.107, allocations: 0.7547 MB / 1.419 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004029/1.111, allocations: 1.128 MB / 1.42 GB, free: 4 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004924/1.116, allocations: 2.472 MB / 1.423 GB, free: 14.48 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/1.118, allocations: 1.15 MB / 1.424 GB, free: 13.78 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/1.12, allocations: 0.9004 MB / 1.425 GB, free: 13.21 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/1.121, allocations: 0.9937 MB / 1.426 GB, free: 12.48 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004126/1.122, allocations: 265.9 kB / 1.426 GB, free: 12.48 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/1.123, allocations: 0.6438 MB / 1.427 GB, free: 12.29 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005565/1.124, allocations: 0.5597 MB / 1.427 GB, free: 11.82 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/1.125, allocations: 1.081 MB / 1.428 GB, free: 11.01 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004866/1.13, allocations: 3.171 MB / 1.431 GB, free: 8.625 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.13, allocations: 3.938 kB / 1.431 GB, free: 8.621 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.974e-06/1.13, allocations: 0 / 1.431 GB, free: 8.621 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.66e-05/1.13, allocations: 1.094 kB / 1.431 GB, free: 8.621 MB / 1.123 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.005559/1.136, allocations: 2.343 MB / 1.434 GB, free: 6.871 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.136, allocations: 8.719 kB / 1.434 GB, free: 6.871 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006127/1.142, allocations: 0.8819 MB / 1.434 GB, free: 6.457 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/1.145, allocations: 1.138 MB / 1.436 GB, free: 5.527 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/1.145, allocations: 125.7 kB / 1.436 GB, free: 5.469 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002685/1.145, allocations: 157.2 kB / 1.436 GB, free: 5.418 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005105/1.15, allocations: 2.067 MB / 1.438 GB, free: 4.156 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/1.15, allocations: 1.156 kB / 1.438 GB, free: 4.156 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/1.15, allocations: 66.69 kB / 1.438 GB, free: 4.105 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/1.15, allocations: 39.69 kB / 1.438 GB, free: 4.105 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006798/1.157, allocations: 2.449 MB / 1.44 GB, free: 1.91 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/1.169, allocations: 5.921 MB / 1.446 GB, free: 11.75 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004884/1.174, allocations: 1.718 MB / 1.448 GB, free: 10.04 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002242/1.176, allocations: 0.7971 MB / 1.449 GB, free: 9.238 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007861/1.177, allocations: 0.4912 MB / 1.449 GB, free: 8.652 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002831/1.18, allocations: 1.069 MB / 1.45 GB, free: 7.566 MB / 1.139 GB Notification: Performance of pre-optimization done (n=139): time 3.747e-06/1.18, allocations: 0 / 1.45 GB, free: 7.566 MB / 1.139 GB Notification: Performance of matching and sorting (n=139): time 0.008515/1.189, allocations: 2.615 MB / 1.453 GB, free: 4.926 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001789/1.189, allocations: 226.9 kB / 1.453 GB, free: 4.652 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/1.19, allocations: 0.9482 MB / 1.454 GB, free: 3.684 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002263/1.191, allocations: 53.7 kB / 1.454 GB, free: 3.625 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006219/1.191, allocations: 0.6577 MB / 1.454 GB, free: 2.957 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005363/1.192, allocations: 472 kB / 1.455 GB, free: 2.492 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005635/1.192, allocations: 266.8 kB / 1.455 GB, free: 2.227 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000219/1.193, allocations: 357.9 kB / 1.455 GB, free: 1.871 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/1.195, allocations: 0.6936 MB / 1.456 GB, free: 1.176 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/1.197, allocations: 0.8319 MB / 1.457 GB, free: 332 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004368/1.202, allocations: 1.463 MB / 1.458 GB, free: 14.84 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.202, allocations: 0 / 1.458 GB, free: 14.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005724/1.207, allocations: 1.852 MB / 1.46 GB, free: 12.98 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/1.208, allocations: 7.984 kB / 1.46 GB, free: 12.97 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.208, allocations: 4 kB / 1.46 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/1.208, allocations: 80.84 kB / 1.46 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/1.21, allocations: 347.4 kB / 1.461 GB, free: 12.54 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/1.212, allocations: 1.652 MB / 1.462 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/1.215, allocations: 211.2 kB / 1.462 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/1.215, allocations: 63.94 kB / 1.463 GB, free: 10.48 MB / 1.154 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.000907/1.216, allocations: 404 kB / 1.463 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003651/1.216, allocations: 139.1 kB / 1.463 GB, free: 9.938 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006624/1.223, allocations: 2.218 MB / 1.465 GB, free: 7.707 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.223, allocations: 19.94 kB / 1.465 GB, free: 7.688 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.223, allocations: 3.938 kB / 1.465 GB, free: 7.684 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/1.223, allocations: 7.969 kB / 1.465 GB, free: 7.676 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/1.225, allocations: 1.809 MB / 1.467 GB, free: 5.816 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.226, allocations: 0 / 1.467 GB, free: 5.816 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.227, allocations: 319.5 kB / 1.467 GB, free: 5.504 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/1.228, allocations: 72.78 kB / 1.467 GB, free: 5.43 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/1.228, allocations: 51.94 kB / 1.467 GB, free: 5.379 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/1.23, allocations: 1.666 MB / 1.469 GB, free: 3.566 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.23, allocations: 3.984 kB / 1.469 GB, free: 3.562 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00575/1.236, allocations: 1.93 MB / 1.471 GB, free: 1.605 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008648/1.237, allocations: 451.6 kB / 1.471 GB, free: 1.145 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/1.237, allocations: 35.89 kB / 1.471 GB, free: 1.109 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/1.239, allocations: 143.8 kB / 1.472 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/1.239, allocations: 117.1 kB / 1.472 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.239, allocations: 63.89 kB / 1.472 GB, free: 0.793 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001116/1.24, allocations: 0.683 MB / 1.472 GB, free: 104 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/1.24, allocations: 3.938 kB / 1.472 GB, free: 100 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.001557/1.242, allocations: 0.5259 MB / 1.473 GB, free: 15.57 MB / 1.17 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.00205/1.244, allocations: 0.6309 MB / 1.474 GB, free: 15.12 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005433/1.249, allocations: 1.833 MB / 1.475 GB, free: 13.28 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/1.249, allocations: 0 / 1.475 GB, free: 13.28 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002903/1.252, allocations: 1.056 MB / 1.476 GB, free: 12.21 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/1.254, allocations: 408.9 kB / 1.477 GB, free: 11.84 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006826/1.261, allocations: 3.147 MB / 1.48 GB, free: 8.648 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/1.262, allocations: 1.28 MB / 1.481 GB, free: 7.336 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.263, allocations: 199.3 kB / 1.481 GB, free: 7.141 MB / 1.17 GB Notification: Performance of SimCode: time 9.32e-07/1.263, allocations: 0 / 1.481 GB, free: 7.141 MB / 1.17 GB Notification: Performance of Templates: time 0.04983/1.313, allocations: 33.34 MB / 1.514 GB, free: 5.895 MB / 1.201 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 -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_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: 15.023067741887644]