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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002535/0.0002535, 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.0002564/0.0002564, 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.1178/0.1178, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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 0.2637/0.2637, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.122e-06/1.122e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.148e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005371/0.005393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005556/0.01095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.01123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.01147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001248/0.01272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.01354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001018/0.01455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.01499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.01614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.01661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.01671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.01717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.0174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.01772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001295/0.01901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001233/0.01914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.944e-06/0.01914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.967e-06/0.01915, 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.001737/0.02088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001029/0.02099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.02199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.02313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.964e-05/0.02323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.02335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008794/0.02423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.02425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/0.02433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.02435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.02476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.0273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.02926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 6.269e-05/0.02932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006296/0.02995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=128): time 9.407e-06/0.02996, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=128): time 0.0009227/0.03088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.03094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.0312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.000119/0.03132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.03145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.03173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.03199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 5.236e-05/0.03204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.03223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.03249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/0.03306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.03307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=156) (initialization): time 0.0007878/0.03386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.03388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.03389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.03391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/0.03455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/0.03457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.03487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.755e-05/0.03496, 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 (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,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,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,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) * 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.0003393/0.0353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.03542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.03673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.03675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.03676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.03677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.03879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.0388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.03935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/0.03936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.942e-05/0.03944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.942e-05/0.03946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.03947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008684/0.04033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.04064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.04089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.04131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.04151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-05/0.04159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001428/0.04174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.336e-05/0.04175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001043/0.04279, 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.000756/0.04355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0007303/0.04428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.04428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.04469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.04589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.04759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.04781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003313/0.04814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.04851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.171e-05/0.04856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002778/0.05133, 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: 1.2014418439939618]