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.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.00195/0.00195, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002271/0.002271, allocations: 212.6 kB / 22.24 MB, free: 5.238 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.774/2.774, allocations: 475.9 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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: 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.002282/0.002282, allocations: 65.67 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3418, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007064/0.3489, allocations: 4.475 MB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1813/0.5302, allocations: 132.7 MB / 1.417 GB, free: 2.266 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009505/0.5312, allocations: 19.81 kB / 1.417 GB, free: 2.246 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006767/0.5318, allocations: 210.1 kB / 1.417 GB, free: 2.039 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.5338, allocations: 0.5759 MB / 1.418 GB, free: 1.465 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.536, allocations: 0.8762 MB / 1.419 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001775/0.5378, allocations: 1.46 MB / 1.42 GB, free: 15.12 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007463/0.5385, allocations: 398 kB / 1.42 GB, free: 14.71 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007658/0.5393, allocations: 0.5255 MB / 1.421 GB, free: 14.18 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006473/0.5399, allocations: 489.7 kB / 1.421 GB, free: 13.7 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.5401, allocations: 127.9 kB / 1.422 GB, free: 13.58 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009952/0.5411, allocations: 495.6 kB / 1.422 GB, free: 13.09 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003117/0.5414, allocations: 311 kB / 1.422 GB, free: 12.79 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004986/0.5419, allocations: 473.7 kB / 1.423 GB, free: 12.32 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.544, allocations: 1.716 MB / 1.424 GB, free: 10.6 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.544, allocations: 4 kB / 1.424 GB, free: 10.6 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.292e-06/0.544, allocations: 0 / 1.424 GB, free: 10.6 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.544, allocations: 4 kB / 1.424 GB, free: 10.59 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002823/0.5469, allocations: 1.448 MB / 1.426 GB, free: 9.109 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.5469, allocations: 15.97 kB / 1.426 GB, free: 9.094 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.5486, allocations: 252 kB / 1.426 GB, free: 8.848 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.55, allocations: 0.722 MB / 1.427 GB, free: 8.102 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/0.55, allocations: 66 kB / 1.427 GB, free: 8.035 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.5502, allocations: 80 kB / 1.427 GB, free: 7.957 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.552, allocations: 1.197 MB / 1.428 GB, free: 6.66 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.552, allocations: 0 / 1.428 GB, free: 6.66 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.165e-05/0.5521, allocations: 40 kB / 1.428 GB, free: 6.621 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.5521, allocations: 23.94 kB / 1.428 GB, free: 6.598 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.5541, allocations: 1.077 MB / 1.429 GB, free: 5.52 MB / 1.123 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.004016/0.5581, allocations: 2.123 MB / 1.431 GB, free: 3.344 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.5597, allocations: 0.7858 MB / 1.432 GB, free: 2.543 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/0.5603, allocations: 279.2 kB / 1.432 GB, free: 2.266 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.619e-05/0.5604, allocations: 28.62 kB / 1.432 GB, free: 2.238 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.5615, allocations: 0.618 MB / 1.433 GB, free: 1.578 MB / 1.123 GB Notification: Performance of pre-optimization done (n=84): time 2.825e-06/0.5615, allocations: 0 / 1.433 GB, free: 1.578 MB / 1.123 GB Notification: Performance of matching and sorting (n=84): time 0.003442/0.5649, allocations: 1.188 MB / 1.434 GB, free: 392 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.5651, allocations: 188.9 kB / 1.434 GB, free: 160 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009358/0.566, allocations: 0.6135 MB / 1.435 GB, free: 15.53 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/0.5661, allocations: 49.69 kB / 1.435 GB, free: 15.48 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.5665, allocations: 409.1 kB / 1.435 GB, free: 15.07 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.5667, allocations: 285.6 kB / 1.436 GB, free: 14.79 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.567, allocations: 166.6 kB / 1.436 GB, free: 14.62 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.5672, allocations: 390.7 kB / 1.436 GB, free: 14.23 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006446/0.5679, allocations: 277.8 kB / 1.436 GB, free: 13.96 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007735/0.5686, allocations: 0.4918 MB / 1.437 GB, free: 13.42 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.5699, allocations: 0.6242 MB / 1.437 GB, free: 12.79 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5699, allocations: 0 / 1.437 GB, free: 12.79 MB / 1.139 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00215/0.5721, allocations: 0.8883 MB / 1.438 GB, free: 11.89 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5721, allocations: 4 kB / 1.438 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.5721, allocations: 0 / 1.438 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006094/0.5727, allocations: 84.81 kB / 1.438 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000731/0.5734, allocations: 175.7 kB / 1.439 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.5758, allocations: 1.502 MB / 1.44 GB, free: 10.02 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/0.5765, allocations: 91.66 kB / 1.44 GB, free: 9.926 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/0.5766, allocations: 39.97 kB / 1.44 GB, free: 9.887 MB / 1.139 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.0004723/0.5771, allocations: 271.5 kB / 1.44 GB, free: 9.613 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.5773, allocations: 87.48 kB / 1.441 GB, free: 9.527 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.5799, allocations: 1.128 MB / 1.442 GB, free: 8.387 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.5799, allocations: 8 kB / 1.442 GB, free: 8.379 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5799, allocations: 4 kB / 1.442 GB, free: 8.375 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.58, allocations: 15.91 kB / 1.442 GB, free: 8.359 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/0.5834, allocations: 1.751 MB / 1.443 GB, free: 6.566 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5834, allocations: 4 kB / 1.443 GB, free: 6.562 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00063/0.584, allocations: 159.7 kB / 1.444 GB, free: 6.406 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.5845, allocations: 76.78 kB / 1.444 GB, free: 6.328 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.5846, allocations: 23.98 kB / 1.444 GB, free: 6.305 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.5867, allocations: 1.52 MB / 1.445 GB, free: 4.676 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5867, allocations: 0 / 1.445 GB, free: 4.676 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.589, allocations: 1.057 MB / 1.446 GB, free: 3.598 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/0.5895, allocations: 203 kB / 1.446 GB, free: 3.398 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.5896, allocations: 27.94 kB / 1.446 GB, free: 3.371 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.5903, allocations: 59.94 kB / 1.446 GB, free: 3.312 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.5905, allocations: 80.84 kB / 1.447 GB, free: 3.234 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-05/0.5906, allocations: 39.97 kB / 1.447 GB, free: 3.195 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006678/0.5912, allocations: 443 kB / 1.447 GB, free: 2.77 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5912, allocations: 4 kB / 1.447 GB, free: 2.766 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009973/0.5922, allocations: 347 kB / 1.447 GB, free: 2.426 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: 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.002166/0.5944, allocations: 0.6454 MB / 1.448 GB, free: 1.98 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.5963, allocations: 0.8353 MB / 1.449 GB, free: 1.133 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5963, allocations: 0 / 1.449 GB, free: 1.133 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.5973, allocations: 0.5002 MB / 1.449 GB, free: 0.625 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.5985, allocations: 297.8 kB / 1.45 GB, free: 364 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.6018, allocations: 1.735 MB / 1.451 GB, free: 14.59 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.6023, allocations: 449.2 kB / 1.452 GB, free: 14.12 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008338/0.6031, allocations: 278.5 kB / 1.452 GB, free: 13.84 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.6034, allocations: 115.4 kB / 1.452 GB, free: 13.73 MB / 1.154 GB Notification: Performance of SimCode: time 5.61e-07/0.6034, allocations: 0 / 1.452 GB, free: 13.73 MB / 1.154 GB Notification: Performance of Templates: time 0.03014/0.6336, allocations: 16.8 MB / 1.468 GB, free: 13.2 MB / 1.17 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.857125857844949]