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.001637/0.001637, allocations: 80.3 kB / 21.47 MB, free: 3.02 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.001895/0.001895, allocations: 171.4 kB / 24.86 MB, free: 8.371 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.9605/0.9605, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.818/1.818, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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 2.074e-06/2.074e-06, allocations: 0 / 0.8127 GB, free: 344 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.468e-05, allocations: 3.75 kB / 0.8127 GB, free: 340 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002992/0.003016, allocations: 1.661 MB / 0.8144 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.004247, allocations: 0.653 MB / 0.815 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.004309, allocations: 0 / 0.815 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.004459, allocations: 85.16 kB / 0.8151 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.004673, allocations: 102.5 kB / 0.8152 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.004923, allocations: 103.7 kB / 0.8153 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.005075, allocations: 136.6 kB / 0.8154 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7e-05/0.005145, allocations: 4 kB / 0.8154 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.00532, allocations: 100.5 kB / 0.8155 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.005454, allocations: 109.5 kB / 0.8156 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.005472, allocations: 4 kB / 0.8156 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.005577, allocations: 83.92 kB / 0.8157 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.00563, allocations: 43.84 kB / 0.8157 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.005672, allocations: 27.92 kB / 0.8158 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.005862, allocations: 180.9 kB / 0.8159 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.005864, allocations: 0 / 0.8159 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005864, allocations: 0 / 0.8159 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.005869, allocations: 0 / 0.8159 GB, free: 13.07 MB / 0.7292 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.0005121/0.006381, allocations: 0.5066 MB / 0.8164 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.006411, allocations: 8.031 kB / 0.8164 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.006532, allocations: 28.78 kB / 0.8165 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.006672, allocations: 161.5 kB / 0.8166 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.006683, allocations: 4.375 kB / 0.8166 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.006696, allocations: 8.359 kB / 0.8166 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.006825, allocations: 133.5 kB / 0.8168 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.006833, allocations: 192 / 0.8168 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.006842, allocations: 4.312 kB / 0.8168 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.006849, allocations: 7.938 kB / 0.8168 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.832e-05/0.006907, allocations: 53.66 kB / 0.8168 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.007248, allocations: 429.8 kB / 0.8172 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.007366, allocations: 111.9 kB / 0.8173 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.007409, allocations: 65.06 kB / 0.8174 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.007423, allocations: 3.938 kB / 0.8174 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.007567, allocations: 180.5 kB / 0.8176 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 8.82e-07/0.007568, allocations: 0 / 0.8176 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0002678/0.007836, allocations: 255.3 kB / 0.8178 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.007885, allocations: 108.5 kB / 0.8179 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.008013, allocations: 260.3 kB / 0.8182 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.008026, allocations: 25.7 kB / 0.8182 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.008088, allocations: 163.1 kB / 0.8184 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.00812, allocations: 39.67 kB / 0.8184 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.008162, allocations: 43.91 kB / 0.8184 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.008277, allocations: 0.5083 MB / 0.8189 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.008312, allocations: 45.69 kB / 0.819 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-05/0.008357, allocations: 77.97 kB / 0.8191 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.51e-05/0.008442, allocations: 127 kB / 0.8192 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008443, allocations: 1.156 kB / 0.8192 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001618/0.008605, allocations: 204.9 kB / 0.8194 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.008634, allocations: 39.36 kB / 0.8194 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.008638, allocations: 1.375 kB / 0.8194 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.008647, allocations: 0 / 0.8194 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.008715, allocations: 23.92 kB / 0.8194 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.008718, allocations: 4.438 kB / 0.8194 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.008768, allocations: 8 kB / 0.8194 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.008779, allocations: 9.016 kB / 0.8195 GB, free: 9.113 MB / 0.7292 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.655e-05/0.008875, allocations: 204.6 kB / 0.8197 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.008899, allocations: 23.84 kB / 0.8197 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.00902, allocations: 95.94 kB / 0.8198 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.009023, allocations: 7.984 kB / 0.8198 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.009024, allocations: 2.156 kB / 0.8198 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.009028, allocations: 0 / 0.8198 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.009132, allocations: 145.2 kB / 0.8199 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.009132, allocations: 0 / 0.8199 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.009163, allocations: 11.98 kB / 0.8199 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.009165, allocations: 2.625 kB / 0.8199 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.009175, allocations: 8 kB / 0.8199 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.009177, allocations: 3.938 kB / 0.8199 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009178, allocations: 4 kB / 0.8199 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.009373, allocations: 271.2 kB / 0.8202 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.009415, allocations: 35.78 kB / 0.8202 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.009436, allocations: 8 kB / 0.8202 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.019e-05/0.009476, allocations: 13.58 kB / 0.8203 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.009509, allocations: 7.984 kB / 0.8203 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.009522, allocations: 8 kB / 0.8203 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.599e-05/0.009588, allocations: 175.2 kB / 0.8204 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.009588, allocations: 0 / 0.8204 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001668/0.009755, allocations: 48.44 kB / 0.8205 GB, free: 7.977 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.0001234/0.009879, allocations: 133.1 kB / 0.8206 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.01004, allocations: 206.3 kB / 0.8208 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01004, allocations: 0 / 0.8208 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.889e-05/0.01012, allocations: 140.1 kB / 0.8209 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.01027, allocations: 30.22 kB / 0.821 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.01078, allocations: 344.1 kB / 0.8213 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.01082, allocations: 71.33 kB / 0.8214 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.01085, allocations: 12.72 kB / 0.8214 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.01093, allocations: 98.19 kB / 0.8215 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.01093, allocations: 0 / 0.8215 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of Templates: time 0.003417/0.01435, allocations: 1.919 MB / 0.8233 GB, free: 4.984 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 -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.959103333763778]