Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.000928/0.000928, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.0009284/0.0009284, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.9306/0.9306, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.729/1.729, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.825e-05, allocations: 7.312 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002518/0.002546, allocations: 1.667 MB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.0036, allocations: 0.6575 MB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.003663, allocations: 0 / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.003837, allocations: 81.38 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.004128, allocations: 101.5 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.004482, allocations: 109 kB / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.004664, allocations: 131.6 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.314e-05/0.004747, allocations: 4 kB / 0.7898 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.004963, allocations: 96.62 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.005132, allocations: 112.3 kB / 0.79 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.005157, allocations: 8.688 kB / 0.79 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.005293, allocations: 87.86 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.005355, allocations: 36.75 kB / 0.7901 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.00541, allocations: 27.92 kB / 0.7901 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.005657, allocations: 168.1 kB / 0.7903 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.00566, allocations: 0 / 0.7903 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005661, allocations: 0.9688 kB / 0.7903 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.005666, allocations: 3.938 kB / 0.7903 GB, free: 9.254 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006358/0.006301, allocations: 0.5124 MB / 0.7908 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.00634, allocations: 8.031 kB / 0.7908 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.006507, allocations: 32.72 kB / 0.7908 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.0067, allocations: 160.3 kB / 0.791 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.006717, allocations: 12.38 kB / 0.791 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.006732, allocations: 4.375 kB / 0.791 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.00692, allocations: 143.9 kB / 0.7911 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.006929, allocations: 192 / 0.7911 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.006943, allocations: 1.094 kB / 0.7911 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.006954, allocations: 7.938 kB / 0.7911 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.16e-05/0.007036, allocations: 59.33 kB / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.007493, allocations: 458.5 kB / 0.7916 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.00765, allocations: 115.8 kB / 0.7917 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.643e-05/0.007716, allocations: 66.53 kB / 0.7918 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.007737, allocations: 8 kB / 0.7918 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.007943, allocations: 181.2 kB / 0.792 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.007945, allocations: 0 / 0.792 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003735/0.008318, allocations: 262.8 kB / 0.7922 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.00845, allocations: 110.8 kB / 0.7923 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.008614, allocations: 258 kB / 0.7926 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.008633, allocations: 29.7 kB / 0.7926 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.008716, allocations: 171.1 kB / 0.7928 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.008753, allocations: 31.73 kB / 0.7928 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.008809, allocations: 39.36 kB / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.008955, allocations: 0.505 MB / 0.7933 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.009021, allocations: 53.62 kB / 0.7934 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.009094, allocations: 85.52 kB / 0.7935 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.009226, allocations: 134.9 kB / 0.7936 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.009228, allocations: 0.5312 kB / 0.7936 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002377/0.009466, allocations: 221.9 kB / 0.7938 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.009503, allocations: 35.58 kB / 0.7938 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.009508, allocations: 0 / 0.7938 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.009522, allocations: 4.578 kB / 0.7938 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.009619, allocations: 19.94 kB / 0.7939 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.009624, allocations: 0.5312 kB / 0.7939 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.00969, allocations: 17.3 kB / 0.7939 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.009705, allocations: 4 kB / 0.7939 GB, free: 5.191 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (decAng.k,$PRE.decAng.k,decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001085/0.009813, allocations: 201.8 kB / 0.7941 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.009851, allocations: 35.89 kB / 0.7941 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.01002, allocations: 91.98 kB / 0.7942 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.01002, allocations: 4 kB / 0.7942 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.01003, allocations: 0 / 0.7942 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01003, allocations: 1.562 kB / 0.7942 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.01017, allocations: 176.6 kB / 0.7944 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01018, allocations: 0 / 0.7944 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.01022, allocations: 15.98 kB / 0.7944 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.01022, allocations: 5.531 kB / 0.7944 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.01024, allocations: 8 kB / 0.7944 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.01024, allocations: 4 kB / 0.7944 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01024, allocations: 0.9688 kB / 0.7944 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.01052, allocations: 287.2 kB / 0.7947 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.01057, allocations: 27.89 kB / 0.7947 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.0106, allocations: 18.23 kB / 0.7947 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.01066, allocations: 4 kB / 0.7947 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.01071, allocations: 11.98 kB / 0.7947 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.01072, allocations: 4 kB / 0.7947 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001016/0.01082, allocations: 183.1 kB / 0.7949 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01082, allocations: 0 / 0.7949 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002505/0.01107, allocations: 51.36 kB / 0.795 GB, free: 4.004 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,decAng.tNext,decAng.k,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 8 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.k,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001792/0.01125, allocations: 139.1 kB / 0.7951 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.01149, allocations: 210.4 kB / 0.7953 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0115, allocations: 0 / 0.7953 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.0116, allocations: 140.7 kB / 0.7954 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.01181, allocations: 18.05 kB / 0.7954 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000745/0.01256, allocations: 352.6 kB / 0.7958 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.025e-05/0.01261, allocations: 71.89 kB / 0.7959 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.921e-05/0.01265, allocations: 14.3 kB / 0.7959 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.01268, allocations: 16.5 kB / 0.7959 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/0.01268, allocations: 0 / 0.7959 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of Templates: time 0.004558/0.01724, allocations: 1.841 MB / 0.7977 GB, free: 1.148 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.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.750420902855694]