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.001003/0.001003, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009694/0.0009694, allocations: 169 kB / 24.28 MB, free: 276 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 0.9232/0.9232, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.831/1.831, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.452e-06/1.452e-06, allocations: 0 / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.092e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002031/0.002052, allocations: 1.659 MB / 0.8131 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.002879, allocations: 0.6651 MB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.069e-05/0.002939, allocations: 1.125 kB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.003073, allocations: 73.36 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.003291, allocations: 104.8 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.003563, allocations: 104.2 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.003715, allocations: 145.2 kB / 0.8142 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.47e-05/0.00379, allocations: 4 kB / 0.8142 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.003971, allocations: 91.83 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.004105, allocations: 108.3 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.004125, allocations: 8.594 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.004235, allocations: 87.84 kB / 0.8145 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.004288, allocations: 36.64 kB / 0.8145 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.004337, allocations: 31.91 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.004537, allocations: 168.6 kB / 0.8147 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00454, allocations: 0 / 0.8147 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.72e-07/0.00454, allocations: 0 / 0.8147 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004545, allocations: 1.375 kB / 0.8147 GB, free: 14.82 MB / 0.7761 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.0005206/0.005065, allocations: 0.5053 MB / 0.8152 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.005095, allocations: 8.031 kB / 0.8152 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.005234, allocations: 38.48 kB / 0.8152 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.005396, allocations: 165.8 kB / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.005407, allocations: 384 / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.005424, allocations: 16.31 kB / 0.8154 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.005568, allocations: 130.2 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.005575, allocations: 192 / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.005588, allocations: 8.375 kB / 0.8155 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.005595, allocations: 3.938 kB / 0.8155 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.766e-05/0.005662, allocations: 61.61 kB / 0.8156 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.00604, allocations: 461.3 kB / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.006304, allocations: 123.8 kB / 0.8162 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.006359, allocations: 65.19 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.006376, allocations: 4 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.006535, allocations: 175.7 kB / 0.8164 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.021e-06/0.006536, allocations: 0 / 0.8164 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0003136/0.00685, allocations: 272.1 kB / 0.8167 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.006897, allocations: 110.8 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.007037, allocations: 262 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.007053, allocations: 33.7 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.007116, allocations: 167.6 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.007148, allocations: 37.41 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.007192, allocations: 39.36 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.007301, allocations: 0.504 MB / 0.8178 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.954e-05/0.00735, allocations: 53.69 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.302e-05/0.007403, allocations: 75.64 kB / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.007507, allocations: 138.9 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.007509, allocations: 0 / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001821/0.007691, allocations: 216.7 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.007727, allocations: 40.36 kB / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.007732, allocations: 0 / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.007744, allocations: 7.984 kB / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.007816, allocations: 12.5 kB / 0.8183 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.007822, allocations: 1.031 kB / 0.8183 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.353e-05/0.007875, allocations: 16.17 kB / 0.8183 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.007888, allocations: 12 kB / 0.8183 GB, free: 10.75 MB / 0.7761 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.655e-05/0.007975, allocations: 199.1 kB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.008, allocations: 32.64 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.008139, allocations: 98.8 kB / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.008142, allocations: 0 / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.008144, allocations: 0 / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.008148, allocations: 0 / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.008265, allocations: 176.6 kB / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.008266, allocations: 0 / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.008297, allocations: 11.98 kB / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.0083, allocations: 3.938 kB / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.008311, allocations: 4 kB / 0.8188 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008313, allocations: 3.938 kB / 0.8188 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.008313, allocations: 1.75 kB / 0.8188 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.008532, allocations: 291.3 kB / 0.8191 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.008576, allocations: 31.89 kB / 0.8191 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.008603, allocations: 15.92 kB / 0.8191 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.008643, allocations: 4 kB / 0.8192 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.00869, allocations: 13 kB / 0.8192 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.008705, allocations: 8 kB / 0.8192 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.289e-05/0.008778, allocations: 181.5 kB / 0.8193 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008778, allocations: 0 / 0.8193 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000167/0.008945, allocations: 51.92 kB / 0.8194 GB, free: 9.559 MB / 0.7761 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.0001403/0.009085, allocations: 134.5 kB / 0.8195 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.009279, allocations: 211.4 kB / 0.8197 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009281, allocations: 0 / 0.8197 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.629e-05/0.009367, allocations: 144.8 kB / 0.8199 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.009522, allocations: 20.7 kB / 0.8199 GB, free: 9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00061/0.01013, allocations: 333.8 kB / 0.8202 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.077e-05/0.01017, allocations: 76.67 kB / 0.8203 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.01021, allocations: 12.72 kB / 0.8203 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.01023, allocations: 13.41 kB / 0.8203 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.01023, allocations: 0 / 0.8203 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of Templates: time 0.003463/0.0137, allocations: 1.763 MB / 0.822 GB, free: 6.801 MB / 0.7761 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 -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: 4.9588548799511045]