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.0009488/0.0009488, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001002/0.001002, allocations: 165.4 kB / 24.17 MB, free: 332 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.9797/0.9797, allocations: 177.2 MB / 204.6 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.897/1.897, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.673e-06/1.673e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.693e-05, allocations: 6.25 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002573/0.0026, allocations: 1.666 MB / 0.7616 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.003726, allocations: 0.6644 MB / 0.7623 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.892e-05/0.003805, allocations: 3.938 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.003988, allocations: 77.83 kB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.004294, allocations: 107.2 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.004688, allocations: 106.1 kB / 0.7626 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.004904, allocations: 136.7 kB / 0.7627 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.055e-05/0.004994, allocations: 11.97 kB / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.005248, allocations: 97.03 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.005419, allocations: 95.8 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.005444, allocations: 8.906 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.005592, allocations: 83.86 kB / 0.763 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.005663, allocations: 27.92 kB / 0.763 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.005721, allocations: 40.53 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.005959, allocations: 165.2 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.005962, allocations: 0 / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.413e-06/0.005964, allocations: 0 / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.00597, allocations: 0 / 0.7632 GB, free: 3.395 MB / 0.7136 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.0005423/0.006512, allocations: 398.4 kB / 0.7636 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.006549, allocations: 12.03 kB / 0.7636 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.006703, allocations: 22.02 kB / 0.7636 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.006879, allocations: 153.5 kB / 0.7637 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.006892, allocations: 4.375 kB / 0.7638 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.006909, allocations: 9.094 kB / 0.7638 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.007062, allocations: 125.8 kB / 0.7639 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.00707, allocations: 192 / 0.7639 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.007081, allocations: 5.109 kB / 0.7639 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.007088, allocations: 3.938 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.753e-05/0.007146, allocations: 65.36 kB / 0.764 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.007473, allocations: 255.3 kB / 0.7642 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.007599, allocations: 136.9 kB / 0.7643 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.007647, allocations: 59.58 kB / 0.7644 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.007662, allocations: 3.938 kB / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.007833, allocations: 175.3 kB / 0.7646 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.007834, allocations: 3.312 kB / 0.7646 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002117/0.008046, allocations: 201.5 kB / 0.7647 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.008096, allocations: 110.8 kB / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.008212, allocations: 185 kB / 0.765 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.008228, allocations: 25.7 kB / 0.7651 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.008269, allocations: 100.4 kB / 0.7651 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.466e-05/0.008303, allocations: 39.67 kB / 0.7652 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.008347, allocations: 33.69 kB / 0.7652 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/0.008432, allocations: 326.8 kB / 0.7655 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/0.008478, allocations: 55.61 kB / 0.7656 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.008523, allocations: 69.05 kB / 0.7657 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.62e-05/0.008609, allocations: 119.9 kB / 0.7658 GB, free: 480 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.008611, allocations: 0 / 0.7658 GB, free: 480 kB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001241/0.008735, allocations: 155.8 kB / 0.7659 GB, free: 304 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.008768, allocations: 41.64 kB / 0.766 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.008774, allocations: 4 kB / 0.766 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.008787, allocations: 0 / 0.766 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.008859, allocations: 18.05 kB / 0.766 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.008863, allocations: 3.938 kB / 0.766 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.008917, allocations: 15.94 kB / 0.766 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.008929, allocations: 8.297 kB / 0.766 GB, free: 208 kB / 0.7136 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 0.0001045/0.009033, allocations: 160.4 kB / 0.7662 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.009055, allocations: 15.98 kB / 0.7662 GB, free: 20 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.009198, allocations: 86.94 kB / 0.7663 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.009202, allocations: 4 kB / 0.7663 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.009204, allocations: 0 / 0.7663 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.00921, allocations: 4.078 kB / 0.7663 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.009312, allocations: 104.5 kB / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009314, allocations: 0 / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.009348, allocations: 11.98 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.009351, allocations: 4 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.00936, allocations: 4 kB / 0.7664 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.009363, allocations: 0 / 0.7664 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.009366, allocations: 7.938 kB / 0.7664 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.009677, allocations: 206.9 kB / 0.7666 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.009725, allocations: 28.58 kB / 0.7666 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.009749, allocations: 5.562 kB / 0.7666 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.276e-05/0.009792, allocations: 4 kB / 0.7666 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.009833, allocations: 15.92 kB / 0.7666 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.009846, allocations: 4 kB / 0.7666 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.009895, allocations: 61.88 kB / 0.7667 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.009895, allocations: 0 / 0.7667 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000168/0.01006, allocations: 47.94 kB / 0.7667 GB, free: 15.37 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.0001544/0.01022, allocations: 118.5 kB / 0.7669 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.01039, allocations: 200.5 kB / 0.767 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.0104, allocations: 4 kB / 0.7671 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.01047, allocations: 130.4 kB / 0.7672 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.01058, allocations: 16.86 kB / 0.7672 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.01117, allocations: 342.6 kB / 0.7675 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.223e-05/0.01121, allocations: 76.8 kB / 0.7676 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.01124, allocations: 8.672 kB / 0.7676 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.388e-05/0.01133, allocations: 79.36 kB / 0.7677 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of SimCode: time 1.192e-06/0.01133, allocations: 0.625 kB / 0.7677 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of Templates: time 0.003975/0.0153, allocations: 1.856 MB / 0.7695 GB, free: 12.55 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: 5.031902916263789]