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.0009632/0.0009632, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001583/0.001583, allocations: 181 kB / 24.09 MB, free: 420 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.9377/0.9377, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.874/1.874, allocations: 377.9 MB / 0.624 GB, free: 8.434 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.344e-06/2.344e-06, allocations: 0 / 0.812 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/3.017e-05, allocations: 3.219 kB / 0.812 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003244/0.003275, allocations: 1.664 MB / 0.8136 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004555, allocations: 0.6535 MB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.004631, allocations: 0 / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.004809, allocations: 81.05 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.00511, allocations: 105.7 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.005503, allocations: 104.4 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.005704, allocations: 132.2 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.757e-05/0.005782, allocations: 5.312 kB / 0.8147 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.006028, allocations: 99.77 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.006222, allocations: 108.3 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.006248, allocations: 5.375 kB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.006415, allocations: 95.84 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.124e-05/0.006476, allocations: 27.92 kB / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.863e-05/0.006535, allocations: 39.78 kB / 0.815 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.006808, allocations: 168.7 kB / 0.8152 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.00681, allocations: 0 / 0.8152 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.21e-07/0.00681, allocations: 0 / 0.8152 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.006814, allocations: 1.156 kB / 0.8152 GB, free: 14.25 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.0006648/0.007479, allocations: 0.5091 MB / 0.8157 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.007514, allocations: 9.125 kB / 0.8157 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.007644, allocations: 32.73 kB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.007779, allocations: 160.3 kB / 0.8159 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.007791, allocations: 5.219 kB / 0.8159 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.007801, allocations: 4.375 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.00793, allocations: 137.1 kB / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.007937, allocations: 192 / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.007947, allocations: 4.375 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.007954, allocations: 5.25 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.008002, allocations: 57.61 kB / 0.8161 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.0083, allocations: 423.3 kB / 0.8165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.008391, allocations: 113.4 kB / 0.8166 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.008428, allocations: 65.05 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.008445, allocations: 2.875 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.008572, allocations: 183.7 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.008573, allocations: 0 / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0002558/0.008828, allocations: 258.4 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.008885, allocations: 106.8 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.009002, allocations: 264 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.009015, allocations: 25.7 kB / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.009105, allocations: 175.6 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.009133, allocations: 31.72 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.009179, allocations: 39.89 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.009301, allocations: 0.5098 MB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.572e-05/0.009337, allocations: 45.69 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.722e-05/0.009384, allocations: 75.53 kB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.009546, allocations: 122.7 kB / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.009548, allocations: 0 / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001676/0.009715, allocations: 214.8 kB / 0.8186 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.009745, allocations: 41.62 kB / 0.8187 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.009749, allocations: 0 / 0.8187 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.009763, allocations: 4 kB / 0.8187 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.009829, allocations: 15.98 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.009832, allocations: 0.9062 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.009884, allocations: 11.94 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.009893, allocations: 4.844 kB / 0.8187 GB, free: 10.29 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.603e-05/0.009989, allocations: 203 kB / 0.8189 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.01002, allocations: 35.78 kB / 0.8189 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.01014, allocations: 80.42 kB / 0.819 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01014, allocations: 0 / 0.819 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01014, allocations: 1.094 kB / 0.819 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.01014, allocations: 7.984 kB / 0.819 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.01025, allocations: 149.2 kB / 0.8191 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01026, allocations: 6.844 kB / 0.8192 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.01028, allocations: 11.94 kB / 0.8192 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01029, allocations: 4 kB / 0.8192 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.0103, allocations: 11.98 kB / 0.8192 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.0103, allocations: 3.938 kB / 0.8192 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.0103, allocations: 0 / 0.8192 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.01049, allocations: 279.2 kB / 0.8194 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.01053, allocations: 30.52 kB / 0.8195 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.01055, allocations: 8 kB / 0.8195 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.286e-05/0.01059, allocations: 11.92 kB / 0.8195 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.01062, allocations: 7.984 kB / 0.8195 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.01064, allocations: 8 kB / 0.8195 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.0107, allocations: 171.2 kB / 0.8197 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0107, allocations: 0 / 0.8197 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001586/0.01086, allocations: 48.88 kB / 0.8197 GB, free: 9.152 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.000127/0.01098, allocations: 138.5 kB / 0.8199 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.01114, allocations: 198.4 kB / 0.82 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.01115, allocations: 4 kB / 0.82 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.01136, allocations: 145.8 kB / 0.8202 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.01149, allocations: 16 kB / 0.8202 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.01199, allocations: 334.1 kB / 0.8205 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.801e-05/0.01202, allocations: 75.83 kB / 0.8206 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.01206, allocations: 6.047 kB / 0.8206 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-05/0.01214, allocations: 98.19 kB / 0.8207 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.01214, allocations: 0 / 0.8207 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of Templates: time 0.003333/0.01547, allocations: 1.892 MB / 0.8225 GB, free: 6.195 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.786262003239244]