Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00133/0.00133, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001731/0.001731, allocations: 173 kB / 23.49 MB, free: 1.055 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.95/0.95, allocations: 177.2 MB / 203.8 MB, free: 5.582 MB / 186.7 MB " [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 2.086/2.086, allocations: 429.5 MB / 0.6736 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] 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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.671e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002277/0.002303, allocations: 1.671 MB / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009162/0.00322, allocations: 0.657 MB / 0.8804 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/0.003295, allocations: 5.062 kB / 0.8804 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.003443, allocations: 76.89 kB / 0.8805 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.003683, allocations: 106.7 kB / 0.8806 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.003981, allocations: 107.6 kB / 0.8807 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.004132, allocations: 131.7 kB / 0.8809 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.552e-05/0.004217, allocations: 4 kB / 0.8809 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.004424, allocations: 102.3 kB / 0.881 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.004568, allocations: 103.8 kB / 0.8811 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.004588, allocations: 7.938 kB / 0.8811 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.004703, allocations: 91.84 kB / 0.8811 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.004761, allocations: 39.86 kB / 0.8812 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.004813, allocations: 32.56 kB / 0.8812 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.005026, allocations: 163.6 kB / 0.8814 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005029, allocations: 1.656 kB / 0.8814 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.243e-06/0.00503, allocations: 0 / 0.8814 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.005034, allocations: 0 / 0.8814 GB, free: 3.359 MB / 0.8386 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.0005851/0.00562, allocations: 0.513 MB / 0.8819 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.005658, allocations: 8.531 kB / 0.8819 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.00582, allocations: 38.11 kB / 0.8819 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.005999, allocations: 160.9 kB / 0.8821 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.006013, allocations: 4.375 kB / 0.8821 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.006029, allocations: 9.969 kB / 0.8821 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.006197, allocations: 132 kB / 0.8822 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.006209, allocations: 4.125 kB / 0.8822 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.006223, allocations: 4.375 kB / 0.8822 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.006233, allocations: 11.94 kB / 0.8822 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.006302, allocations: 53.69 kB / 0.8823 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.006723, allocations: 450.6 kB / 0.8827 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.006861, allocations: 123.9 kB / 0.8828 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.006919, allocations: 65.27 kB / 0.8829 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.006937, allocations: 4 kB / 0.8829 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.007113, allocations: 187.6 kB / 0.8831 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.007114, allocations: 0 / 0.8831 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003488/0.007463, allocations: 270.5 kB / 0.8833 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.007515, allocations: 106.8 kB / 0.8834 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.007662, allocations: 262.9 kB / 0.8837 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.007677, allocations: 29.7 kB / 0.8837 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.007747, allocations: 167.1 kB / 0.8839 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.007784, allocations: 39.67 kB / 0.8839 GB, free: 476 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.00783, allocations: 39.36 kB / 0.8839 GB, free: 428 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.007958, allocations: 0.504 MB / 0.8844 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.00801, allocations: 53.62 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.008069, allocations: 77.05 kB / 0.8846 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.008179, allocations: 138.6 kB / 0.8847 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.008181, allocations: 4 kB / 0.8847 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001882/0.008369, allocations: 212.8 kB / 0.8849 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.008404, allocations: 41.69 kB / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.008409, allocations: 0 / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.008421, allocations: 96 / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.008508, allocations: 16 kB / 0.885 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.008515, allocations: 3.938 kB / 0.885 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.008574, allocations: 19.86 kB / 0.885 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.008587, allocations: 8 kB / 0.885 GB, free: 15.27 MB / 0.8542 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 9.993e-05/0.008687, allocations: 202.3 kB / 0.8852 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.008715, allocations: 23.84 kB / 0.8852 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.008874, allocations: 99.05 kB / 0.8853 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.008877, allocations: 4 kB / 0.8853 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.00888, allocations: 0 / 0.8853 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.008884, allocations: 0 / 0.8853 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.009106, allocations: 176.5 kB / 0.8855 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.009109, allocations: 3.984 kB / 0.8855 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.009143, allocations: 8 kB / 0.8855 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.009149, allocations: 7.938 kB / 0.8855 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.00916, allocations: 8 kB / 0.8855 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.009162, allocations: 0 / 0.8855 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.009163, allocations: 0 / 0.8855 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.009396, allocations: 291.2 kB / 0.8858 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.009443, allocations: 27.88 kB / 0.8858 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.00947, allocations: 7.938 kB / 0.8858 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-05/0.009515, allocations: 12.19 kB / 0.8858 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.009564, allocations: 7.984 kB / 0.8858 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.009582, allocations: 19.98 kB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.539e-05/0.009657, allocations: 168.4 kB / 0.886 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009657, allocations: 4 kB / 0.886 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001879/0.009845, allocations: 51.92 kB / 0.8861 GB, free: 14.08 MB / 0.8542 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.000168/0.01001, allocations: 133.7 kB / 0.8862 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.01023, allocations: 206.8 kB / 0.8864 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01023, allocations: 4 kB / 0.8864 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.958e-05/0.01032, allocations: 144.7 kB / 0.8865 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.0105, allocations: 22.91 kB / 0.8866 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007009/0.0112, allocations: 339.9 kB / 0.8869 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.728e-05/0.01125, allocations: 84.48 kB / 0.887 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.01128, allocations: 8.719 kB / 0.887 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.01131, allocations: 12.5 kB / 0.887 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of SimCode: time 8.92e-07/0.01131, allocations: 0 / 0.887 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.003943/0.01525, allocations: 1.76 MB / 0.8887 GB, free: 11.29 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.340000694151968]