Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001733/0.001733, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002009/0.002009, allocations: 193.8 kB / 22.17 MB, free: 5.652 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.435/1.435, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.857/2.857, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.66 kB / 1.109 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3252, allocations: 168.7 MB / 1.274 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007293/0.3325, allocations: 4.961 MB / 1.279 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1815/0.514, allocations: 151.2 MB / 1.427 GB, free: 14.44 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009015/0.5149, allocations: 19.88 kB / 1.427 GB, free: 14.42 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006502/0.5155, allocations: 198.2 kB / 1.427 GB, free: 14.23 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.5173, allocations: 0.5597 MB / 1.427 GB, free: 13.67 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.5194, allocations: 0.8647 MB / 1.428 GB, free: 12.81 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.5211, allocations: 1.432 MB / 1.43 GB, free: 11.37 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007628/0.5219, allocations: 413.4 kB / 1.43 GB, free: 10.95 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007528/0.5227, allocations: 0.4944 MB / 1.43 GB, free: 10.45 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007079/0.5234, allocations: 0.5289 MB / 1.431 GB, free: 9.918 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.5235, allocations: 120 kB / 1.431 GB, free: 9.801 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009582/0.5245, allocations: 491.6 kB / 1.432 GB, free: 9.32 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.5248, allocations: 311 kB / 1.432 GB, free: 9.016 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005377/0.5253, allocations: 0.5713 MB / 1.432 GB, free: 8.441 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.5275, allocations: 1.665 MB / 1.434 GB, free: 6.77 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5275, allocations: 0 / 1.434 GB, free: 6.77 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5275, allocations: 0 / 1.434 GB, free: 6.77 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.277e-05/0.5275, allocations: 0 / 1.434 GB, free: 6.77 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.00295/0.5305, allocations: 1.504 MB / 1.435 GB, free: 5.211 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5305, allocations: 8.031 kB / 1.435 GB, free: 5.203 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009766/0.5315, allocations: 192.1 kB / 1.436 GB, free: 5.016 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.5328, allocations: 0.7786 MB / 1.436 GB, free: 4.195 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/0.5328, allocations: 70 kB / 1.437 GB, free: 4.125 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.533, allocations: 87.94 kB / 1.437 GB, free: 4.039 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.5347, allocations: 0.9417 MB / 1.438 GB, free: 3.059 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.5347, allocations: 0 / 1.438 GB, free: 3.059 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.38e-05/0.5348, allocations: 36 kB / 1.438 GB, free: 3.023 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.5348, allocations: 20 kB / 1.438 GB, free: 3.004 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.5368, allocations: 1.124 MB / 1.439 GB, free: 1.879 MB / 1.139 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.004633/0.5414, allocations: 2.725 MB / 1.441 GB, free: 15.04 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.5431, allocations: 0.8578 MB / 1.442 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005684/0.5437, allocations: 291.3 kB / 1.442 GB, free: 13.87 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.381e-05/0.5438, allocations: 36.67 kB / 1.442 GB, free: 13.83 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000943/0.5447, allocations: 0.5121 MB / 1.443 GB, free: 13.3 MB / 1.154 GB Notification: Performance of pre-optimization done (n=84): time 2.134e-06/0.5447, allocations: 0 / 1.443 GB, free: 13.3 MB / 1.154 GB Notification: Performance of matching and sorting (n=84): time 0.003527/0.5483, allocations: 1.255 MB / 1.444 GB, free: 12.02 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/0.5484, allocations: 192.9 kB / 1.444 GB, free: 11.79 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008612/0.5493, allocations: 0.641 MB / 1.445 GB, free: 11.14 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.883e-05/0.5494, allocations: 45.7 kB / 1.445 GB, free: 11.09 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.5497, allocations: 405.1 kB / 1.445 GB, free: 10.69 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.55, allocations: 289.5 kB / 1.446 GB, free: 10.4 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.5502, allocations: 174.6 kB / 1.446 GB, free: 10.22 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.5504, allocations: 386.8 kB / 1.446 GB, free: 9.836 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/0.551, allocations: 277.8 kB / 1.447 GB, free: 9.566 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/0.5517, allocations: 375.1 kB / 1.447 GB, free: 9.184 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.5529, allocations: 0.6242 MB / 1.447 GB, free: 8.547 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5529, allocations: 3.938 kB / 1.447 GB, free: 8.543 MB / 1.154 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002104/0.555, allocations: 0.8843 MB / 1.448 GB, free: 7.652 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.555, allocations: 4 kB / 1.448 GB, free: 7.648 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.555, allocations: 15.88 kB / 1.448 GB, free: 7.633 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/0.5556, allocations: 84.86 kB / 1.448 GB, free: 7.547 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007266/0.5564, allocations: 167.8 kB / 1.449 GB, free: 7.383 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.5589, allocations: 1.634 MB / 1.45 GB, free: 5.598 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008323/0.5597, allocations: 91.5 kB / 1.45 GB, free: 5.508 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.344e-05/0.5598, allocations: 44.03 kB / 1.45 GB, free: 5.465 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0005383/0.5603, allocations: 267.8 kB / 1.451 GB, free: 5.195 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.5605, allocations: 91.42 kB / 1.451 GB, free: 5.105 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/0.5631, allocations: 1.132 MB / 1.452 GB, free: 3.961 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.5631, allocations: 11.94 kB / 1.452 GB, free: 3.949 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5631, allocations: 0 / 1.452 GB, free: 3.949 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.5631, allocations: 7.969 kB / 1.452 GB, free: 3.941 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/0.5667, allocations: 2.013 MB / 1.454 GB, free: 1.863 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5667, allocations: 0 / 1.454 GB, free: 1.863 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006574/0.5674, allocations: 167.7 kB / 1.454 GB, free: 1.699 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.5679, allocations: 64.8 kB / 1.454 GB, free: 1.633 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.428e-05/0.5679, allocations: 31.97 kB / 1.454 GB, free: 1.602 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.57, allocations: 1.65 MB / 1.456 GB, free: 15.8 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.57, allocations: 3.984 kB / 1.456 GB, free: 15.8 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.5723, allocations: 1.053 MB / 1.457 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004962/0.5728, allocations: 288.1 kB / 1.457 GB, free: 14.43 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.573, allocations: 23.95 kB / 1.457 GB, free: 14.41 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/0.5737, allocations: 63.92 kB / 1.457 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.5738, allocations: 76.89 kB / 1.457 GB, free: 14.27 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-05/0.5739, allocations: 35.97 kB / 1.457 GB, free: 14.23 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000643/0.5746, allocations: 471 kB / 1.458 GB, free: 13.78 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5746, allocations: 0 / 1.458 GB, free: 13.78 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009512/0.5755, allocations: 339.1 kB / 1.458 GB, free: 13.45 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001975/0.5775, allocations: 0.6031 MB / 1.458 GB, free: 13.04 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.5794, allocations: 0.8428 MB / 1.459 GB, free: 12.18 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5794, allocations: 0 / 1.459 GB, free: 12.18 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.5805, allocations: 0.5082 MB / 1.46 GB, free: 11.66 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.5819, allocations: 316 kB / 1.46 GB, free: 11.37 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.5855, allocations: 1.715 MB / 1.462 GB, free: 9.625 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/0.5863, allocations: 1.036 MB / 1.463 GB, free: 8.562 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008743/0.5872, allocations: 270.8 kB / 1.463 GB, free: 8.293 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.5875, allocations: 111.4 kB / 1.463 GB, free: 8.184 MB / 1.17 GB Notification: Performance of SimCode: time 6.81e-07/0.5875, allocations: 0 / 1.463 GB, free: 8.184 MB / 1.17 GB Notification: Performance of Templates: time 0.03069/0.6182, allocations: 16.1 MB / 1.479 GB, free: 8.258 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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: 9.401315280236304]