Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003714/0.0003714, allocations: 0 / 0, free: 0 / 0 " [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.0004552/0.0004552, allocations: 0 / 0, free: 0 / 0 " [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 0.4816/0.4816, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.185/1.185, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: simulate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,startTime=0,stopTime=86400,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,startTime=0,stopTime=86400,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 6.076e-05/6.181e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.04413/0.04419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01408/0.05827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.06018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0007693/0.06095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.005282/0.06623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.003787/0.07001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.004339/0.07435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.07566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.004076/0.07974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.08096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000406/0.08137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.08295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0004739/0.08343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0007764/0.0842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003767/0.08797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001643/0.08814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 6.673e-06/0.08814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.07e-05/0.08817, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.005907/0.09408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001904/0.09427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005494/0.09977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.003823/0.1036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.1038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003914/0.1042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/0.1084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.63e-05/0.1084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/0.1087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.1087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.1115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.1228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.006469/0.1293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.1309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.1311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002588/0.1337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=128): time 2.548e-05/0.1337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=128): time 0.005841/0.1396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/0.1398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.1413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0003123/0.1416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.000545/0.1422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0006756/0.1429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/0.1441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.000421/0.1445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.1476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/0.1505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-05/0.1506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=156) (initialization): time 0.004674/0.1552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.859e-05/0.1553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.1553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 6.036e-05/0.1554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.1571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.839e-05/0.1571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009662/0.1581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/0.1583, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 64 (proShaLenEas.solAzi.outsidePolarCircle,proShaLenEas.decAng.k,$PRE.proShaLenEas.decAng.k,proShaLenEas.decAng.tNext,$PRE.proShaLenEas.decAng.tNext,proShaLenEas.eqnTim.k,$PRE.proShaLenEas.eqnTim.k,proShaLenEas.eqnTim.tNext,$PRE.proShaLenEas.eqnTim.tNext,proShaLenEas.locTim.k,$PRE.proShaLenEas.locTim.k,proShaLenEas.locTim.tNext,$PRE.proShaLenEas.locTim.tNext,$whenCondition10,$whenCondition11,$whenCondition12,proShaLenSou.solAzi.outsidePolarCircle,proShaLenSou.decAng.k,$PRE.proShaLenSou.decAng.k,proShaLenSou.decAng.tNext,$PRE.proShaLenSou.decAng.tNext,proShaLenSou.eqnTim.k,$PRE.proShaLenSou.eqnTim.k,proShaLenSou.eqnTim.tNext,$PRE.proShaLenSou.eqnTim.tNext,proShaLenSou.locTim.k,$PRE.proShaLenSou.locTim.k,proShaLenSou.locTim.tNext,$PRE.proShaLenSou.locTim.tNext,$whenCondition7,$whenCondition8,$whenCondition9,proShaLenWes.solAzi.outsidePolarCircle,proShaLenWes.decAng.k,$PRE.proShaLenWes.decAng.k,proShaLenWes.decAng.tNext,$PRE.proShaLenWes.decAng.tNext,proShaLenWes.eqnTim.k,$PRE.proShaLenWes.eqnTim.k,proShaLenWes.eqnTim.tNext,$PRE.proShaLenWes.eqnTim.tNext,proShaLenWes.locTim.k,$PRE.proShaLenWes.locTim.k,proShaLenWes.locTim.tNext,$PRE.proShaLenWes.locTim.tNext,$whenCondition4,$whenCondition5,$whenCondition6,proShaLenNor.solAzi.outsidePolarCircle,proShaLenNor.decAng.k,$PRE.proShaLenNor.decAng.k,proShaLenNor.decAng.tNext,$PRE.proShaLenNor.decAng.tNext,proShaLenNor.eqnTim.k,$PRE.proShaLenNor.eqnTim.k,proShaLenNor.eqnTim.tNext,$PRE.proShaLenNor.eqnTim.tNext,proShaLenNor.locTim.k,$PRE.proShaLenNor.locTim.k,proShaLenNor.locTim.tNext,$PRE.proShaLenNor.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001478/0.1598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007171/0.1605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006084/0.1666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.1666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-05/0.1666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.93e-05/0.1667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.1776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-05/0.1777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.784e-05/0.1791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/0.1793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.348e-05/0.1793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.1794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1156/0.2949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001485/0.2964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005441/0.297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.2982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007719/0.2989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/0.2992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001249/0.3004, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.858e-05/0.3005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.003657/0.3041, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition3,$whenCondition2,$whenCondition1,proShaLenNor.locTim.tNext,proShaLenNor.locTim.k,proShaLenNor.eqnTim.tNext,proShaLenNor.eqnTim.k,proShaLenNor.decAng.tNext,proShaLenNor.decAng.k,$whenCondition6,$whenCondition5,$whenCondition4,proShaLenWes.locTim.tNext,proShaLenWes.locTim.k,proShaLenWes.eqnTim.tNext,proShaLenWes.eqnTim.k,proShaLenWes.decAng.tNext,proShaLenWes.decAng.k,$whenCondition9,$whenCondition8,$whenCondition7,proShaLenSou.locTim.tNext,proShaLenSou.locTim.k,proShaLenSou.eqnTim.tNext,proShaLenSou.eqnTim.k,proShaLenSou.decAng.tNext,proShaLenSou.decAng.k,$whenCondition12,$whenCondition11,$whenCondition10,proShaLenEas.locTim.tNext,proShaLenEas.locTim.k,proShaLenEas.eqnTim.tNext,proShaLenEas.eqnTim.k,proShaLenEas.decAng.tNext,proShaLenEas.decAng.k) * Number of discrete states: 24 (proShaLenEas.eqnTim.tNext,proShaLenEas.locTim.tNext,proShaLenEas.decAng.tNext,proShaLenEas.decAng.k,proShaLenEas.eqnTim.k,proShaLenEas.locTim.k,proShaLenSou.eqnTim.tNext,proShaLenSou.locTim.tNext,proShaLenSou.decAng.tNext,proShaLenSou.decAng.k,proShaLenSou.eqnTim.k,proShaLenSou.locTim.k,proShaLenWes.eqnTim.tNext,proShaLenWes.locTim.tNext,proShaLenWes.decAng.tNext,proShaLenWes.decAng.k,proShaLenWes.eqnTim.k,proShaLenWes.locTim.k,proShaLenNor.eqnTim.tNext,proShaLenNor.locTim.tNext,proShaLenNor.decAng.tNext,proShaLenNor.decAng.k,proShaLenNor.eqnTim.k,proShaLenNor.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001906/0.306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004026/0.31, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.3101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002052/0.3121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004156/0.3163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008234/0.3245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.3257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001664/0.3274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/0.3288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0001542/0.3289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.1267/0.4556, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 539] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.517877745907754]