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.0009211/0.0009211, 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.001405/0.001405, 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.86/0.86, allocations: 177.2 MB / 204.2 MB, free: 5.598 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.809/1.809, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.442e-06/1.442e-06, allocations: 0 / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.425e-05, allocations: 3.188 kB / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00196/0.001984, allocations: 1.667 MB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.002834, allocations: 0.6635 MB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.002891, allocations: 5.188 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.003057, allocations: 77.05 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.003307, allocations: 109.8 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.003602, allocations: 103.6 kB / 0.8141 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.003751, allocations: 136.2 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.003818, allocations: 8.703 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.003989, allocations: 88.34 kB / 0.8143 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.00412, allocations: 113.4 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.00414, allocations: 8 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.004252, allocations: 83.81 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.004305, allocations: 39.83 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.004352, allocations: 36.48 kB / 0.8146 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.004552, allocations: 163.5 kB / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004554, allocations: 0.9062 kB / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004555, allocations: 0 / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.004559, allocations: 0.6875 kB / 0.8147 GB, free: 14.49 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.000537/0.005096, allocations: 0.5058 MB / 0.8152 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.005128, allocations: 12.02 kB / 0.8152 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.00527, allocations: 38.11 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.005429, allocations: 160.3 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.00544, allocations: 384 / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.005454, allocations: 14.12 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.005604, allocations: 131.5 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.005611, allocations: 192 / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.005622, allocations: 4.375 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.005629, allocations: 3.938 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.597e-05/0.005695, allocations: 70.56 kB / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.006081, allocations: 454.6 kB / 0.8161 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.006208, allocations: 118.1 kB / 0.8162 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.006262, allocations: 65.19 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.006278, allocations: 7.984 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.006439, allocations: 183.6 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.00644, allocations: 3.375 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.000311/0.006751, allocations: 274.7 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.006795, allocations: 106.8 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.006941, allocations: 259.2 kB / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.006957, allocations: 33.7 kB / 0.8171 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.007022, allocations: 167.1 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.007053, allocations: 27.75 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.007098, allocations: 39.36 kB / 0.8173 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.007219, allocations: 0.5079 MB / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.00727, allocations: 58.59 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/0.007324, allocations: 71.72 kB / 0.8179 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.007432, allocations: 143.4 kB / 0.8181 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007434, allocations: 0 / 0.8181 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001885/0.007622, allocations: 213.4 kB / 0.8183 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.007653, allocations: 42.25 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.007657, allocations: 0 / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.00767, allocations: 5.125 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.749e-05/0.007747, allocations: 15.98 kB / 0.8183 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.007752, allocations: 0 / 0.8183 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.00781, allocations: 12.75 kB / 0.8183 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.007824, allocations: 12.19 kB / 0.8183 GB, free: 10.42 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 9.817e-05/0.007922, allocations: 197.1 kB / 0.8185 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.00795, allocations: 35.78 kB / 0.8186 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.008098, allocations: 88.36 kB / 0.8186 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.008101, allocations: 7.938 kB / 0.8187 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.008105, allocations: 0 / 0.8187 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008109, allocations: 5.047 kB / 0.8187 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.008234, allocations: 180.6 kB / 0.8188 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008235, allocations: 0 / 0.8188 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.008269, allocations: 8.938 kB / 0.8188 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.008272, allocations: 3.938 kB / 0.8188 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.008284, allocations: 7.984 kB / 0.8188 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.008285, allocations: 1.031 kB / 0.8189 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008286, allocations: 0 / 0.8189 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.008516, allocations: 292.3 kB / 0.8191 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.008561, allocations: 31.89 kB / 0.8192 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.008588, allocations: 11.88 kB / 0.8192 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.365e-05/0.008631, allocations: 13.11 kB / 0.8192 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.008673, allocations: 7.984 kB / 0.8192 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.008688, allocations: 8 kB / 0.8192 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.48e-05/0.008773, allocations: 181.7 kB / 0.8194 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008773, allocations: 0 / 0.8194 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001785/0.008952, allocations: 47.94 kB / 0.8194 GB, free: 9.234 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.0001517/0.009103, allocations: 143.4 kB / 0.8196 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.009303, allocations: 206.4 kB / 0.8198 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009305, allocations: 0 / 0.8198 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.704e-05/0.009392, allocations: 150.3 kB / 0.8199 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.009549, allocations: 12 kB / 0.8199 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006442/0.01019, allocations: 338 kB / 0.8202 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.439e-05/0.01024, allocations: 75.33 kB / 0.8203 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.01027, allocations: 13.38 kB / 0.8203 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.0103, allocations: 16.44 kB / 0.8203 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.0103, allocations: 0.5938 kB / 0.8203 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of Templates: time 0.0038/0.0141, allocations: 1.868 MB / 0.8222 GB, free: 6.355 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.844984839204699]