Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001009/0.001009, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001069/0.001069, allocations: 161 kB / 24.16 MB, free: 336 kB / 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 1.037/1.037, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.887/1.887, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.132e-05, allocations: 2.312 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002135/0.002156, allocations: 1.719 MB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.002991, allocations: 0.6645 MB / 0.7624 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.003044, allocations: 0 / 0.7624 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.003174, allocations: 84.94 kB / 0.7625 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.003379, allocations: 99 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.003614, allocations: 94.64 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.003752, allocations: 135.3 kB / 0.7628 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.338e-05/0.003816, allocations: 21.33 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.003975, allocations: 83.84 kB / 0.7629 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.004091, allocations: 97.03 kB / 0.763 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.004108, allocations: 4 kB / 0.763 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.004239, allocations: 103.8 kB / 0.7631 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.004282, allocations: 32.61 kB / 0.7631 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.004322, allocations: 31.91 kB / 0.7631 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.004497, allocations: 172.2 kB / 0.7633 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004499, allocations: 0 / 0.7633 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.0045, allocations: 0.75 kB / 0.7633 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.035e-06/0.004503, allocations: 0 / 0.7633 GB, free: 3.32 MB / 0.7136 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.0003842/0.004887, allocations: 391.8 kB / 0.7637 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.602e-05/0.004913, allocations: 8.031 kB / 0.7637 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.005028, allocations: 28.91 kB / 0.7637 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.005158, allocations: 153.4 kB / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.005168, allocations: 384 / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.005178, allocations: 14.12 kB / 0.7639 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.005295, allocations: 129.1 kB / 0.764 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.005301, allocations: 192 / 0.764 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.005308, allocations: 4.375 kB / 0.764 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.005313, allocations: 7.188 kB / 0.764 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.748e-05/0.005361, allocations: 56.45 kB / 0.764 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.005606, allocations: 259.4 kB / 0.7643 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.667e-05/0.005703, allocations: 142.7 kB / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.005741, allocations: 59.53 kB / 0.7645 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.005751, allocations: 0 / 0.7645 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.005876, allocations: 163.3 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 7.42e-07/0.005877, allocations: 2.844 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0001741/0.006051, allocations: 209.4 kB / 0.7648 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.006092, allocations: 110.8 kB / 0.765 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/0.006184, allocations: 177 kB / 0.7651 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.0062, allocations: 33.7 kB / 0.7652 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.006234, allocations: 100.4 kB / 0.7652 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.006263, allocations: 39.69 kB / 0.7653 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.006301, allocations: 35.16 kB / 0.7653 GB, free: 1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.006378, allocations: 330.8 kB / 0.7656 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-05/0.006412, allocations: 44.78 kB / 0.7657 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.883e-05/0.00645, allocations: 67.38 kB / 0.7657 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.875e-05/0.006529, allocations: 133.4 kB / 0.7659 GB, free: 400 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006531, allocations: 0 / 0.7659 GB, free: 400 kB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001081/0.006639, allocations: 151.8 kB / 0.766 GB, free: 228 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.006665, allocations: 41.62 kB / 0.7661 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.006669, allocations: 1.594 kB / 0.7661 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.006679, allocations: 4 kB / 0.7661 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.006741, allocations: 23.92 kB / 0.7661 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.006743, allocations: 0.625 kB / 0.7661 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.006789, allocations: 11.94 kB / 0.7661 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.0068, allocations: 8.641 kB / 0.7661 GB, free: 132 kB / 0.7136 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 8.898e-05/0.006889, allocations: 158 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.006908, allocations: 20.73 kB / 0.7663 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.649e-05/0.007004, allocations: 85.91 kB / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.007007, allocations: 4 kB / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.007008, allocations: 0 / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.007011, allocations: 0 / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.429e-05/0.007095, allocations: 101.8 kB / 0.7665 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007097, allocations: 0 / 0.7665 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.007124, allocations: 15.94 kB / 0.7665 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.007125, allocations: 0 / 0.7665 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.007134, allocations: 11.11 kB / 0.7665 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.007137, allocations: 4 kB / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.007139, allocations: 3.938 kB / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.007278, allocations: 195 kB / 0.7667 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.007334, allocations: 27.88 kB / 0.7667 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.007363, allocations: 8 kB / 0.7667 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.68e-05/0.00741, allocations: 7.984 kB / 0.7667 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.007443, allocations: 19.86 kB / 0.7667 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.007455, allocations: 5.469 kB / 0.7667 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.025e-05/0.007495, allocations: 52.62 kB / 0.7668 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007495, allocations: 0 / 0.7668 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001373/0.007633, allocations: 47.92 kB / 0.7668 GB, free: 15.3 MB / 0.7292 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.0001166/0.007749, allocations: 119.6 kB / 0.7669 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.007897, allocations: 191.6 kB / 0.7671 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.007901, allocations: 4.594 kB / 0.7671 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.121e-05/0.007972, allocations: 137.9 kB / 0.7673 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.746e-05/0.00807, allocations: 20.84 kB / 0.7673 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/0.008574, allocations: 340.4 kB / 0.7676 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.864e-05/0.008612, allocations: 80.39 kB / 0.7677 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.008644, allocations: 12.89 kB / 0.7677 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.008719, allocations: 77.8 kB / 0.7678 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/0.00872, allocations: 0 / 0.7678 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of Templates: time 0.00325/0.01197, allocations: 1.854 MB / 0.7696 GB, free: 12.48 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.006451192311943]