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.00156/0.00156, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001748/0.001748, allocations: 211.2 kB / 22.99 MB, free: 4.957 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.203/3.203, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.001994/0.001994, allocations: 71.16 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3308, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006829/0.3376, allocations: 4.517 MB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1702/0.5078, allocations: 132.9 MB / 1.461 GB, free: 7.051 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007707/0.5086, allocations: 23.81 kB / 1.461 GB, free: 7.027 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000603/0.5092, allocations: 202.1 kB / 1.461 GB, free: 6.828 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.5111, allocations: 0.6125 MB / 1.462 GB, free: 6.215 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.5132, allocations: 0.8615 MB / 1.463 GB, free: 5.359 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001875/0.5151, allocations: 1.479 MB / 1.464 GB, free: 3.875 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008004/0.5159, allocations: 422 kB / 1.465 GB, free: 3.438 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008436/0.5167, allocations: 0.5411 MB / 1.465 GB, free: 2.895 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007056/0.5174, allocations: 0.5368 MB / 1.466 GB, free: 2.355 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.5176, allocations: 128 kB / 1.466 GB, free: 2.23 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009993/0.5186, allocations: 0.5074 MB / 1.466 GB, free: 1.723 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.5189, allocations: 311 kB / 1.467 GB, free: 1.418 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004957/0.5194, allocations: 489.6 kB / 1.467 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.5216, allocations: 1.747 MB / 1.469 GB, free: 15.18 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.5216, allocations: 0 / 1.469 GB, free: 15.18 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5216, allocations: 0 / 1.469 GB, free: 15.18 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.83e-05/0.5217, allocations: 0 / 1.469 GB, free: 15.18 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.003106/0.5248, allocations: 1.468 MB / 1.47 GB, free: 13.68 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.5248, allocations: 12.02 kB / 1.47 GB, free: 13.67 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.5267, allocations: 264 kB / 1.471 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.5282, allocations: 0.7414 MB / 1.471 GB, free: 12.64 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.942e-05/0.5283, allocations: 66 kB / 1.471 GB, free: 12.57 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.5284, allocations: 88 kB / 1.471 GB, free: 12.49 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.5303, allocations: 1.216 MB / 1.473 GB, free: 11.17 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.5303, allocations: 0 / 1.473 GB, free: 11.17 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/0.5304, allocations: 36 kB / 1.473 GB, free: 11.14 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.5304, allocations: 28 kB / 1.473 GB, free: 11.11 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.5324, allocations: 1.108 MB / 1.474 GB, free: 9.996 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/0.5368, allocations: 2.244 MB / 1.476 GB, free: 7.699 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.5384, allocations: 0.7943 MB / 1.477 GB, free: 6.895 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006162/0.539, allocations: 298.6 kB / 1.477 GB, free: 6.598 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.994e-05/0.5391, allocations: 28.62 kB / 1.477 GB, free: 6.57 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.5401, allocations: 0.6297 MB / 1.478 GB, free: 5.902 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 2.845e-06/0.5401, allocations: 0 / 1.478 GB, free: 5.902 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.00355/0.5437, allocations: 1.219 MB / 1.479 GB, free: 4.672 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.5438, allocations: 200.9 kB / 1.479 GB, free: 4.434 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009493/0.5448, allocations: 0.6252 MB / 1.48 GB, free: 3.801 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.183e-05/0.5448, allocations: 53.69 kB / 1.48 GB, free: 3.742 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/0.5452, allocations: 413.2 kB / 1.48 GB, free: 3.332 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.5455, allocations: 301.4 kB / 1.48 GB, free: 3.035 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.5458, allocations: 178.6 kB / 1.481 GB, free: 2.855 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.546, allocations: 390.8 kB / 1.481 GB, free: 2.465 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/0.5466, allocations: 289.8 kB / 1.481 GB, free: 2.18 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007798/0.5474, allocations: 0.5074 MB / 1.482 GB, free: 1.629 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.5487, allocations: 0.6633 MB / 1.482 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5487, allocations: 0 / 1.482 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002146/0.5508, allocations: 0.9156 MB / 1.483 GB, free: 28 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5508, allocations: 5.875 kB / 1.483 GB, free: 24 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5509, allocations: 7.938 kB / 1.483 GB, free: 16 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.5514, allocations: 84.83 kB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/0.5522, allocations: 179.8 kB / 1.484 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.5545, allocations: 1.506 MB / 1.485 GB, free: 14.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008402/0.5554, allocations: 95.45 kB / 1.485 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/0.5554, allocations: 39.97 kB / 1.485 GB, free: 14.01 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.0005304/0.556, allocations: 280.7 kB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.5562, allocations: 95.38 kB / 1.485 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/0.5589, allocations: 1.156 MB / 1.487 GB, free: 12.47 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.5589, allocations: 12 kB / 1.487 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5589, allocations: 3.938 kB / 1.487 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.5589, allocations: 7.969 kB / 1.487 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.5599, allocations: 0.6576 MB / 1.487 GB, free: 11.76 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5599, allocations: 7.938 kB / 1.487 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/0.5606, allocations: 151.8 kB / 1.487 GB, free: 11.6 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/0.561, allocations: 80.78 kB / 1.487 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.59e-05/0.5611, allocations: 27.97 kB / 1.488 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.5631, allocations: 1.528 MB / 1.489 GB, free: 9.848 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5631, allocations: 0 / 1.489 GB, free: 9.848 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.5654, allocations: 0.9986 MB / 1.49 GB, free: 8.832 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.566, allocations: 199.1 kB / 1.49 GB, free: 8.637 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.5661, allocations: 31.92 kB / 1.49 GB, free: 8.605 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/0.5668, allocations: 63.94 kB / 1.49 GB, free: 8.543 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.5669, allocations: 80.84 kB / 1.49 GB, free: 8.461 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.996e-05/0.567, allocations: 43.97 kB / 1.49 GB, free: 8.418 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006397/0.5676, allocations: 455 kB / 1.491 GB, free: 7.977 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5676, allocations: 0 / 1.491 GB, free: 7.977 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009343/0.5686, allocations: 351.1 kB / 1.491 GB, free: 7.633 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.002097/0.5707, allocations: 0.6524 MB / 1.492 GB, free: 7.18 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.5726, allocations: 0.8507 MB / 1.493 GB, free: 6.32 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.5726, allocations: 4 kB / 1.493 GB, free: 6.316 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.5736, allocations: 0.5198 MB / 1.493 GB, free: 5.785 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.5748, allocations: 301.7 kB / 1.493 GB, free: 5.52 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.5782, allocations: 1.762 MB / 1.495 GB, free: 3.727 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.5787, allocations: 461.7 kB / 1.496 GB, free: 3.246 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008154/0.5795, allocations: 278.8 kB / 1.496 GB, free: 2.969 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.5798, allocations: 115.4 kB / 1.496 GB, free: 2.855 MB / 1.186 GB Notification: Performance of SimCode: time 5.91e-07/0.5798, allocations: 0 / 1.496 GB, free: 2.855 MB / 1.186 GB Notification: Performance of Templates: time 0.03224/0.612, allocations: 17.42 MB / 1.513 GB, free: 1.699 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 cvode -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.641334844985977]