Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.001311/0.001311, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001921/0.001921, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.146/3.146, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [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.002139/0.002139, allocations: 61.59 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3212, allocations: 176.1 MB / 1.327 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007552/0.3287, allocations: 4.533 MB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1764/0.5052, allocations: 132.9 MB / 1.461 GB, free: 7.133 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008594/0.506, allocations: 23.81 kB / 1.461 GB, free: 7.109 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006224/0.5066, allocations: 202.1 kB / 1.461 GB, free: 6.91 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.5087, allocations: 0.6031 MB / 1.462 GB, free: 6.309 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.5108, allocations: 0.8612 MB / 1.463 GB, free: 5.453 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001801/0.5126, allocations: 1.479 MB / 1.464 GB, free: 3.969 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007896/0.5134, allocations: 418 kB / 1.465 GB, free: 3.535 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000872/0.5142, allocations: 0.5411 MB / 1.465 GB, free: 2.992 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006753/0.5149, allocations: 0.5445 MB / 1.466 GB, free: 2.445 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.5151, allocations: 124 kB / 1.466 GB, free: 2.324 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.5161, allocations: 0.4996 MB / 1.466 GB, free: 1.824 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.5165, allocations: 323 kB / 1.467 GB, free: 1.508 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000488/0.5169, allocations: 481.6 kB / 1.467 GB, free: 1.035 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.5191, allocations: 1.751 MB / 1.469 GB, free: 15.28 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.5191, allocations: 4 kB / 1.469 GB, free: 15.27 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5191, allocations: 0 / 1.469 GB, free: 15.27 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.5192, allocations: 0 / 1.469 GB, free: 15.27 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00306/0.5222, allocations: 1.464 MB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.5223, allocations: 8.031 kB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.5243, allocations: 268 kB / 1.471 GB, free: 13.5 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.5257, allocations: 0.7414 MB / 1.471 GB, free: 12.73 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/0.5258, allocations: 70 kB / 1.471 GB, free: 12.66 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.5259, allocations: 83.98 kB / 1.471 GB, free: 12.58 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.5279, allocations: 1.22 MB / 1.473 GB, free: 11.26 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.5279, allocations: 0 / 1.473 GB, free: 11.26 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.528, allocations: 36 kB / 1.473 GB, free: 11.23 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.528, allocations: 20 kB / 1.473 GB, free: 11.21 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.53, allocations: 1.12 MB / 1.474 GB, free: 10.08 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004394/0.5344, allocations: 2.248 MB / 1.476 GB, free: 7.781 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.536, allocations: 0.7905 MB / 1.477 GB, free: 6.98 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.5366, allocations: 294.7 kB / 1.477 GB, free: 6.688 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.981e-05/0.5367, allocations: 32.56 kB / 1.477 GB, free: 6.656 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.5377, allocations: 0.6219 MB / 1.478 GB, free: 5.996 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 3.086e-06/0.5377, allocations: 0 / 1.478 GB, free: 5.996 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003729/0.5415, allocations: 1.227 MB / 1.479 GB, free: 4.758 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.5416, allocations: 188.9 kB / 1.479 GB, free: 4.531 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/0.5425, allocations: 0.633 MB / 1.48 GB, free: 3.891 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.332e-05/0.5426, allocations: 49.7 kB / 1.48 GB, free: 3.836 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.5429, allocations: 417.2 kB / 1.48 GB, free: 3.422 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.5432, allocations: 305.4 kB / 1.48 GB, free: 3.121 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.5435, allocations: 182.5 kB / 1.481 GB, free: 2.938 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002131/0.5437, allocations: 386.8 kB / 1.481 GB, free: 2.551 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006042/0.5443, allocations: 289.8 kB / 1.481 GB, free: 2.266 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007875/0.5451, allocations: 0.5074 MB / 1.482 GB, free: 1.715 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.5464, allocations: 0.6594 MB / 1.482 GB, free: 1.043 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.5464, allocations: 0 / 1.482 GB, free: 1.043 MB / 1.17 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002314/0.5487, allocations: 0.9195 MB / 1.483 GB, free: 116 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.5487, allocations: 4 kB / 1.483 GB, free: 112 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.5488, allocations: 3.938 kB / 1.483 GB, free: 108 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006878/0.5494, allocations: 84.83 kB / 1.483 GB, free: 20 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/0.5502, allocations: 179.7 kB / 1.484 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.5525, allocations: 1.499 MB / 1.485 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008894/0.5534, allocations: 103.5 kB / 1.485 GB, free: 14.14 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/0.5535, allocations: 43.97 kB / 1.485 GB, free: 14.09 MB / 1.186 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 (105): * Single equations (assignments): 104 * 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.0005046/0.554, allocations: 281 kB / 1.485 GB, free: 13.81 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.5542, allocations: 87.44 kB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.5569, allocations: 1.163 MB / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.5569, allocations: 12 kB / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5569, allocations: 3.938 kB / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.557, allocations: 7.984 kB / 1.487 GB, free: 12.53 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.558, allocations: 0.6576 MB / 1.487 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.558, allocations: 0 / 1.487 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006655/0.5587, allocations: 159.8 kB / 1.487 GB, free: 11.69 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004805/0.5591, allocations: 72.78 kB / 1.487 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/0.5592, allocations: 27.98 kB / 1.488 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.5613, allocations: 1.528 MB / 1.489 GB, free: 9.941 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5613, allocations: 0 / 1.489 GB, free: 9.941 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.5636, allocations: 0.9908 MB / 1.49 GB, free: 8.934 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/0.5641, allocations: 215 kB / 1.49 GB, free: 8.723 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.5642, allocations: 27.94 kB / 1.49 GB, free: 8.695 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.5649, allocations: 64.06 kB / 1.49 GB, free: 8.633 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.5651, allocations: 84.83 kB / 1.49 GB, free: 8.547 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.853e-05/0.5652, allocations: 39.98 kB / 1.49 GB, free: 8.508 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006245/0.5658, allocations: 459 kB / 1.491 GB, free: 8.062 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5658, allocations: 0 / 1.491 GB, free: 8.062 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009807/0.5668, allocations: 347.1 kB / 1.491 GB, free: 7.723 MB / 1.186 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.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 (100): * Single equations (assignments): 93 * 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.002202/0.569, allocations: 0.6492 MB / 1.492 GB, free: 7.277 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001959/0.5709, allocations: 0.8585 MB / 1.493 GB, free: 6.41 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.5709, allocations: 0 / 1.493 GB, free: 6.41 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.572, allocations: 0.5159 MB / 1.493 GB, free: 5.883 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.5731, allocations: 296.6 kB / 1.493 GB, free: 5.617 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.5764, allocations: 1.77 MB / 1.495 GB, free: 3.816 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.5769, allocations: 465.8 kB / 1.496 GB, free: 3.332 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008319/0.5777, allocations: 274.7 kB / 1.496 GB, free: 3.059 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.578, allocations: 115.4 kB / 1.496 GB, free: 2.945 MB / 1.186 GB Notification: Performance of SimCode: time 1.122e-06/0.578, allocations: 0 / 1.496 GB, free: 2.945 MB / 1.186 GB Notification: Performance of Templates: time 0.03001/0.608, allocations: 17.42 MB / 1.513 GB, free: 1.789 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.571691548000672]