Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001722/0.001722, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002117/0.002117, allocations: 186.2 kB / 22.23 MB, free: 5.137 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.607/1.607, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.731/2.731, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_10_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_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 67.89 kB / 1.061 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9654/0.9675, allocations: 160.8 MB / 1.218 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01037/0.9779, allocations: 7.495 MB / 1.226 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.2037/1.182, allocations: 152.3 MB / 1.375 GB, free: 6.824 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/1.184, allocations: 27.81 kB / 1.375 GB, free: 6.797 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/1.186, allocations: 307.8 kB / 1.375 GB, free: 6.496 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003933/1.189, allocations: 0.8267 MB / 1.376 GB, free: 5.668 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003421/1.193, allocations: 1.158 MB / 1.377 GB, free: 4.516 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003901/1.197, allocations: 2.357 MB / 1.379 GB, free: 2.148 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/1.199, allocations: 0.7744 MB / 1.38 GB, free: 1.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/1.2, allocations: 0.923 MB / 1.381 GB, free: 404 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/1.202, allocations: 0.9805 MB / 1.382 GB, free: 15.41 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006841/1.203, allocations: 275.8 kB / 1.382 GB, free: 15.14 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/1.205, allocations: 0.6519 MB / 1.383 GB, free: 14.49 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005812/1.205, allocations: 0.5453 MB / 1.383 GB, free: 13.94 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/1.206, allocations: 1.054 MB / 1.384 GB, free: 12.88 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003915/1.21, allocations: 3.126 MB / 1.387 GB, free: 9.746 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/1.21, allocations: 3.984 kB / 1.387 GB, free: 9.742 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.803e-06/1.21, allocations: 0 / 1.387 GB, free: 9.742 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.071e-05/1.21, allocations: 0 / 1.387 GB, free: 9.742 MB / 1.092 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.00462/1.215, allocations: 2.287 MB / 1.389 GB, free: 7.395 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.215, allocations: 8.031 kB / 1.389 GB, free: 7.387 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005904/1.221, allocations: 0.8736 MB / 1.39 GB, free: 6.512 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/1.223, allocations: 1.118 MB / 1.391 GB, free: 5.348 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/1.223, allocations: 123.3 kB / 1.392 GB, free: 5.227 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/1.223, allocations: 160 kB / 1.392 GB, free: 5.07 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004821/1.228, allocations: 2.051 MB / 1.394 GB, free: 2.969 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/1.228, allocations: 0 / 1.394 GB, free: 2.969 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/1.228, allocations: 72 kB / 1.394 GB, free: 2.898 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/1.229, allocations: 40 kB / 1.394 GB, free: 2.859 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006229/1.235, allocations: 2.444 MB / 1.396 GB, free: 420 kB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/1.246, allocations: 5.65 MB / 1.402 GB, free: 10.58 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004559/1.25, allocations: 1.613 MB / 1.403 GB, free: 8.965 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/1.252, allocations: 0.7386 MB / 1.404 GB, free: 8.223 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007865/1.253, allocations: 490.7 kB / 1.404 GB, free: 7.648 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002742/1.256, allocations: 1.079 MB / 1.406 GB, free: 6.551 MB / 1.107 GB Notification: Performance of pre-optimization done (n=139): time 3.256e-06/1.256, allocations: 0 / 1.406 GB, free: 6.551 MB / 1.107 GB Notification: Performance of matching and sorting (n=139): time 0.008021/1.264, allocations: 2.604 MB / 1.408 GB, free: 3.922 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/1.264, allocations: 205.2 kB / 1.408 GB, free: 3.676 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/1.266, allocations: 0.8821 MB / 1.409 GB, free: 2.77 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/1.266, allocations: 53.7 kB / 1.409 GB, free: 2.711 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006463/1.266, allocations: 0.6343 MB / 1.41 GB, free: 2.066 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/1.267, allocations: 472 kB / 1.41 GB, free: 1.602 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004932/1.267, allocations: 274.7 kB / 1.411 GB, free: 1.328 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.268, allocations: 361.9 kB / 1.411 GB, free: 0.9688 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/1.27, allocations: 0.6897 MB / 1.412 GB, free: 284 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/1.272, allocations: 0.8242 MB / 1.412 GB, free: 15.44 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004024/1.276, allocations: 1.463 MB / 1.414 GB, free: 13.96 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.276, allocations: 0 / 1.414 GB, free: 13.96 MB / 1.123 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005296/1.281, allocations: 1.852 MB / 1.416 GB, free: 12.09 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.281, allocations: 4 kB / 1.416 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.281, allocations: 0 / 1.416 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/1.282, allocations: 96.7 kB / 1.416 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/1.284, allocations: 343.5 kB / 1.416 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/1.286, allocations: 1.642 MB / 1.418 GB, free: 9.867 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/1.288, allocations: 207 kB / 1.418 GB, free: 9.664 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/1.288, allocations: 63.94 kB / 1.418 GB, free: 9.602 MB / 1.123 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.0008116/1.289, allocations: 394.2 kB / 1.418 GB, free: 9.211 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/1.289, allocations: 127.2 kB / 1.418 GB, free: 9.086 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00605/1.295, allocations: 2.214 MB / 1.421 GB, free: 6.855 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/1.295, allocations: 16 kB / 1.421 GB, free: 6.84 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.295, allocations: 3.938 kB / 1.421 GB, free: 6.836 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/1.295, allocations: 7.969 kB / 1.421 GB, free: 6.828 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/1.298, allocations: 1.78 MB / 1.422 GB, free: 4.996 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.298, allocations: 0 / 1.422 GB, free: 4.996 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.299, allocations: 315.5 kB / 1.423 GB, free: 4.688 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/1.3, allocations: 76.78 kB / 1.423 GB, free: 4.609 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/1.3, allocations: 47.95 kB / 1.423 GB, free: 4.562 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002207/1.302, allocations: 1.67 MB / 1.424 GB, free: 2.746 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.302, allocations: 0 / 1.424 GB, free: 2.746 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005351/1.308, allocations: 1.922 MB / 1.426 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008746/1.309, allocations: 443.8 kB / 1.427 GB, free: 356 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/1.309, allocations: 28 kB / 1.427 GB, free: 328 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/1.31, allocations: 147.9 kB / 1.427 GB, free: 180 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/1.311, allocations: 128.9 kB / 1.427 GB, free: 52 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/1.311, allocations: 67.94 kB / 1.427 GB, free: 15.98 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000947/1.312, allocations: 0.6384 MB / 1.428 GB, free: 15.34 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.312, allocations: 0 / 1.428 GB, free: 15.34 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001355/1.313, allocations: 0.5181 MB / 1.428 GB, free: 14.82 MB / 1.139 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.002056/1.315, allocations: 0.6551 MB / 1.429 GB, free: 14.33 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00491/1.32, allocations: 1.755 MB / 1.43 GB, free: 12.56 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.32, allocations: 0 / 1.43 GB, free: 12.56 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/1.323, allocations: 0.9821 MB / 1.431 GB, free: 11.57 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/1.324, allocations: 371.2 kB / 1.432 GB, free: 11.23 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006431/1.331, allocations: 3.014 MB / 1.435 GB, free: 8.176 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009841/1.331, allocations: 1.259 MB / 1.436 GB, free: 6.887 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001648/1.333, allocations: 402.3 kB / 1.436 GB, free: 6.488 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005713/1.334, allocations: 163.3 kB / 1.436 GB, free: 6.328 MB / 1.139 GB Notification: Performance of SimCode: time 9.31e-07/1.334, allocations: 0 / 1.436 GB, free: 6.328 MB / 1.139 GB Notification: Performance of Templates: time 0.0481/1.382, allocations: 25.6 MB / 1.461 GB, free: 12.89 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.848624468781054]