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.000931/0.000931, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.000924/0.000924, allocations: 165 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.9212/0.9212, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.894/1.894, allocations: 377.8 MB / 0.6236 GB, free: 8.523 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.232e-06/1.232e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.703e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00215/0.002167, allocations: 1.663 MB / 0.8131 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009515/0.003118, allocations: 0.6651 MB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.466e-05/0.003183, allocations: 0 / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.003354, allocations: 81.45 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.003604, allocations: 106.9 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.003909, allocations: 107.6 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.004368, allocations: 131.7 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.071e-05/0.004449, allocations: 7.984 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.004652, allocations: 93.08 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.004808, allocations: 107.8 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.00483, allocations: 8.5 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.004955, allocations: 89.39 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.005014, allocations: 39.84 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.005075, allocations: 35.84 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.005293, allocations: 159.6 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.005295, allocations: 0 / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.01e-07/0.005296, allocations: 0.625 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.005301, allocations: 0.8125 kB / 0.8147 GB, free: 14.47 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.0005912/0.005892, allocations: 0.5091 MB / 0.8152 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.005932, allocations: 8.594 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.0061, allocations: 45.3 kB / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.00628, allocations: 160.9 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.006295, allocations: 4.375 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.006312, allocations: 9.75 kB / 0.8154 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.006484, allocations: 134.9 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.006495, allocations: 192 / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.006507, allocations: 1.188 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.006516, allocations: 3.938 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.217e-05/0.006588, allocations: 69.61 kB / 0.8156 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.007003, allocations: 451.6 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.007141, allocations: 121 kB / 0.8162 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.885e-05/0.0072, allocations: 69.19 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.007221, allocations: 0.9688 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.007396, allocations: 183.7 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.874e-06/0.007398, allocations: 2.281 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.000337/0.007735, allocations: 266.5 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.00779, allocations: 110.8 kB / 0.8168 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.007951, allocations: 263.2 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.007973, allocations: 25.7 kB / 0.817 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.008056, allocations: 171.1 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.008091, allocations: 39.17 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.008139, allocations: 39.36 kB / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.008268, allocations: 0.5079 MB / 0.8178 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.008323, allocations: 49.62 kB / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.008384, allocations: 81 kB / 0.8179 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.008499, allocations: 134.9 kB / 0.818 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008501, allocations: 0 / 0.818 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002014/0.008702, allocations: 217 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.008739, allocations: 44.34 kB / 0.8183 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.008746, allocations: 1.062 kB / 0.8183 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.008764, allocations: 4 kB / 0.8183 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.008845, allocations: 19.98 kB / 0.8183 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.00885, allocations: 0.5 kB / 0.8183 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.263e-05/0.008903, allocations: 8.5 kB / 0.8183 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.008922, allocations: 8 kB / 0.8183 GB, free: 10.4 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.084e-05/0.009013, allocations: 203.8 kB / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.00904, allocations: 27.8 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.009187, allocations: 100.1 kB / 0.8186 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.009189, allocations: 0 / 0.8186 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.009193, allocations: 9.031 kB / 0.8187 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.009197, allocations: 0 / 0.8187 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.009316, allocations: 176.6 kB / 0.8188 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.009317, allocations: 0.6562 kB / 0.8188 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.009348, allocations: 8 kB / 0.8188 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.009351, allocations: 8.438 kB / 0.8188 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.009362, allocations: 0.9688 kB / 0.8188 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.009364, allocations: 7.984 kB / 0.8188 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009365, allocations: 1.031 kB / 0.8188 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.009596, allocations: 295.2 kB / 0.8191 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.009641, allocations: 27.89 kB / 0.8192 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.009666, allocations: 8.969 kB / 0.8192 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.303e-05/0.009709, allocations: 11.94 kB / 0.8192 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.009753, allocations: 11.97 kB / 0.8192 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.009769, allocations: 13.12 kB / 0.8192 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.303e-05/0.009852, allocations: 176.8 kB / 0.8194 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009852, allocations: 0 / 0.8194 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001707/0.01002, allocations: 48.97 kB / 0.8194 GB, free: 9.203 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.0001407/0.01016, allocations: 134.6 kB / 0.8195 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.01037, allocations: 210.4 kB / 0.8197 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01037, allocations: 0.5938 kB / 0.8197 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-05/0.01046, allocations: 152.7 kB / 0.8199 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.01061, allocations: 12.59 kB / 0.8199 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.01126, allocations: 335 kB / 0.8202 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.678e-05/0.01131, allocations: 79.33 kB / 0.8203 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.01134, allocations: 5.859 kB / 0.8203 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.01138, allocations: 16.48 kB / 0.8203 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.01138, allocations: 3.938 kB / 0.8203 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of Templates: time 0.003892/0.01527, allocations: 1.77 MB / 0.822 GB, free: 6.426 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: 5.14970683818683]