Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0004986/0.0004986, 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.0003902/0.0003902, 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.4024/0.4024, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.367/1.367, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 5.361e-05/5.468e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.03864/0.0387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01283/0.05153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0008135/0.05234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.05284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.003627/0.05646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.05908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002956/0.06204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.06407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.004516/0.06859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0008933/0.06948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003139/0.06979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.07082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.07113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0006429/0.07178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002879/0.07466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001288/0.07478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.487e-06/0.07479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.17e-05/0.07481, 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.006161/0.08097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001152/0.08109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005356/0.08644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.09002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.09024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005103/0.09075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0052/0.09595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.048e-05/0.09601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/0.09624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.09627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.09884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009758/0.1086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.005968/0.1146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.1162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01849/0.1347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=128): time 2.045e-05/0.1347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=128): time 0.005459/0.1402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003153/0.1405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002719/0.1423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.1427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0008055/0.1435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009613/0.1445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003593/0.1448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.1462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.1482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002914/0.1511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/0.1511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=156) (initialization): time 0.004575/0.1557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.1558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.1558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 4.971e-05/0.1558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.1576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.988e-05/0.1577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/0.1585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004869/0.159, 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.002116/0.1612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007843/0.1619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007785/0.1697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/0.1698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/0.1698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.15e-05/0.1698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.1808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-05/0.1808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.1822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.878e-05/0.1822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.1825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-05/0.1825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.1825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02671/0.2092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001432/0.2107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005335/0.2112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.2124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007253/0.2132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002513/0.2134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0009181/0.2143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.966e-05/0.2143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.003156/0.2175, 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.00216/0.2197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004381/0.224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.367e-05/0.2241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002318/0.2264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/0.2308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007587/0.2384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006766/0.2391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001302/0.2404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001694/0.2421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0001054/0.2422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01886/0.2611, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.347302694339305]