Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.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.001802/0.001802, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002461/0.002461, allocations: 212.8 kB / 22.25 MB, free: 5.258 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.781 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.874/2.874, allocations: 475.9 MB / 0.7699 GB, free: 4.754 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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.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.002147/0.002147, allocations: 65.5 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3099, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007371/0.3173, allocations: 4.386 MB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1742/0.4915, allocations: 132.7 MB / 1.417 GB, free: 2.371 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008113/0.4923, allocations: 27.81 kB / 1.417 GB, free: 2.344 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006297/0.493, allocations: 198.1 kB / 1.417 GB, free: 2.148 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.4947, allocations: 0.5675 MB / 1.418 GB, free: 1.582 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.4967, allocations: 0.8626 MB / 1.418 GB, free: 0.7266 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.4983, allocations: 1.409 MB / 1.42 GB, free: 15.31 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007366/0.499, allocations: 397.7 kB / 1.42 GB, free: 14.89 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007187/0.4997, allocations: 0.5023 MB / 1.421 GB, free: 14.39 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006496/0.5004, allocations: 465.8 kB / 1.421 GB, free: 13.93 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.5006, allocations: 120 kB / 1.421 GB, free: 13.82 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000985/0.5016, allocations: 499.6 kB / 1.422 GB, free: 13.33 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.5019, allocations: 303 kB / 1.422 GB, free: 13.03 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004805/0.5023, allocations: 465.7 kB / 1.422 GB, free: 12.57 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.5045, allocations: 1.708 MB / 1.424 GB, free: 10.86 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.5045, allocations: 0 / 1.424 GB, free: 10.86 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5045, allocations: 0 / 1.424 GB, free: 10.86 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.5045, allocations: 0 / 1.424 GB, free: 10.86 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002626/0.5071, allocations: 1.403 MB / 1.425 GB, free: 9.422 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.5072, allocations: 12.03 kB / 1.426 GB, free: 9.41 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.5088, allocations: 244 kB / 1.426 GB, free: 9.172 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.5102, allocations: 0.7143 MB / 1.426 GB, free: 8.434 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.981e-05/0.5102, allocations: 62 kB / 1.426 GB, free: 8.371 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.5104, allocations: 83.98 kB / 1.427 GB, free: 8.289 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.5122, allocations: 1.165 MB / 1.428 GB, free: 7.023 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.5122, allocations: 4 kB / 1.428 GB, free: 7.02 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/0.5123, allocations: 43.92 kB / 1.428 GB, free: 6.977 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.5123, allocations: 20 kB / 1.428 GB, free: 6.957 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.5142, allocations: 1.065 MB / 1.429 GB, free: 5.891 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.004086/0.5183, allocations: 2.108 MB / 1.431 GB, free: 3.73 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.5199, allocations: 0.7627 MB / 1.432 GB, free: 2.957 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005539/0.5205, allocations: 278.7 kB / 1.432 GB, free: 2.68 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-05/0.5205, allocations: 32.56 kB / 1.432 GB, free: 2.648 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009451/0.5215, allocations: 0.5854 MB / 1.432 GB, free: 2.02 MB / 1.123 GB Notification: Performance of pre-optimization done (n=79): time 2.605e-06/0.5215, allocations: 0 / 1.432 GB, free: 2.02 MB / 1.123 GB Notification: Performance of matching and sorting (n=79): time 0.003266/0.5248, allocations: 1.123 MB / 1.434 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.5249, allocations: 188.6 kB / 1.434 GB, free: 0.6641 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008131/0.5257, allocations: 0.5978 MB / 1.434 GB, free: 56 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/0.5258, allocations: 45.7 kB / 1.434 GB, free: 4 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.5261, allocations: 401 kB / 1.435 GB, free: 15.61 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.5264, allocations: 273.7 kB / 1.435 GB, free: 15.34 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.5266, allocations: 166.6 kB / 1.435 GB, free: 15.16 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.5268, allocations: 382.7 kB / 1.436 GB, free: 14.78 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/0.5274, allocations: 269.9 kB / 1.436 GB, free: 14.52 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007637/0.5282, allocations: 495.6 kB / 1.436 GB, free: 13.99 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.5294, allocations: 0.6033 MB / 1.437 GB, free: 13.38 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5294, allocations: 0 / 1.437 GB, free: 13.38 MB / 1.139 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00212/0.5315, allocations: 0.8531 MB / 1.438 GB, free: 12.51 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5315, allocations: 4 kB / 1.438 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5316, allocations: 4 kB / 1.438 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000631/0.5322, allocations: 84.86 kB / 1.438 GB, free: 12.42 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.5329, allocations: 151.8 kB / 1.438 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.5351, allocations: 1.522 MB / 1.439 GB, free: 10.64 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/0.5359, allocations: 83.61 kB / 1.44 GB, free: 10.56 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-05/0.5359, allocations: 40.03 kB / 1.44 GB, free: 10.52 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004528/0.5364, allocations: 267.4 kB / 1.44 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.5366, allocations: 87.42 kB / 1.44 GB, free: 10.16 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.539, allocations: 1.061 MB / 1.441 GB, free: 9.09 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.539, allocations: 8 kB / 1.441 GB, free: 9.082 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.539, allocations: 0 / 1.441 GB, free: 9.082 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.539, allocations: 7.969 kB / 1.441 GB, free: 9.074 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.5424, allocations: 1.706 MB / 1.443 GB, free: 7.328 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.5424, allocations: 3.938 kB / 1.443 GB, free: 7.324 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.543, allocations: 143.8 kB / 1.443 GB, free: 7.184 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/0.5434, allocations: 72.78 kB / 1.443 GB, free: 7.109 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/0.5435, allocations: 31.97 kB / 1.443 GB, free: 7.078 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.5455, allocations: 1.532 MB / 1.444 GB, free: 5.438 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5455, allocations: 0 / 1.444 GB, free: 5.438 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.5476, allocations: 0.9985 MB / 1.445 GB, free: 4.418 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/0.5481, allocations: 199 kB / 1.446 GB, free: 4.223 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.5482, allocations: 23.92 kB / 1.446 GB, free: 4.199 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006592/0.5489, allocations: 64 kB / 1.446 GB, free: 4.137 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.5491, allocations: 80.86 kB / 1.446 GB, free: 4.059 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.5491, allocations: 31.97 kB / 1.446 GB, free: 4.027 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005838/0.5497, allocations: 431.1 kB / 1.446 GB, free: 3.613 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5497, allocations: 4 kB / 1.446 GB, free: 3.609 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009043/0.5506, allocations: 327.1 kB / 1.446 GB, free: 3.289 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00215/0.5528, allocations: 0.643 MB / 1.447 GB, free: 2.848 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.5546, allocations: 0.7921 MB / 1.448 GB, free: 2.043 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5546, allocations: 0 / 1.448 GB, free: 2.043 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.5556, allocations: 0.4926 MB / 1.448 GB, free: 1.535 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.557, allocations: 286.3 kB / 1.449 GB, free: 1.273 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.5602, allocations: 1.672 MB / 1.45 GB, free: 15.57 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.5608, allocations: 439.6 kB / 1.451 GB, free: 15.11 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007984/0.5616, allocations: 262.2 kB / 1.451 GB, free: 14.85 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.5618, allocations: 107.4 kB / 1.451 GB, free: 14.75 MB / 1.154 GB Notification: Performance of SimCode: time 9.41e-07/0.5618, allocations: 0 / 1.451 GB, free: 14.75 MB / 1.154 GB Notification: Performance of Templates: time 0.02861/0.5904, allocations: 16.31 MB / 1.467 GB, free: 14.7 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.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.880766604095697]