Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001334/0.001334, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001245/0.001245, allocations: 169 kB / 24.28 MB, free: 276 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.912/0.912, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.812/1.812, allocations: 359 MB / 0.6055 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.972e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002245/0.002275, allocations: 1.656 MB / 0.7887 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009609/0.003236, allocations: 0.6568 MB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.003316, allocations: 0 / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.003467, allocations: 77.27 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.003736, allocations: 117.1 kB / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.004075, allocations: 104.9 kB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.004235, allocations: 131.7 kB / 0.7898 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.00433, allocations: 6.062 kB / 0.7898 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.004535, allocations: 99.75 kB / 0.7899 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.004677, allocations: 103.8 kB / 0.79 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.004699, allocations: 8 kB / 0.79 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.004816, allocations: 94 kB / 0.7901 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.926e-05/0.004875, allocations: 27.92 kB / 0.7901 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.004929, allocations: 35.84 kB / 0.7901 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.005154, allocations: 171.4 kB / 0.7903 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005156, allocations: 0 / 0.7903 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005157, allocations: 0 / 0.7903 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.005162, allocations: 0.7188 kB / 0.7903 GB, free: 9.562 MB / 0.7448 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.0005911/0.005753, allocations: 0.5058 MB / 0.7908 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.00579, allocations: 8.031 kB / 0.7908 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.005959, allocations: 34.42 kB / 0.7908 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.006159, allocations: 172.2 kB / 0.791 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.006173, allocations: 384 / 0.791 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.006186, allocations: 5.031 kB / 0.791 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.006362, allocations: 139.9 kB / 0.7911 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.006369, allocations: 1.344 kB / 0.7911 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.00638, allocations: 384 / 0.7911 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.006388, allocations: 7.938 kB / 0.7911 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.315e-05/0.006462, allocations: 62.77 kB / 0.7912 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.006894, allocations: 454.6 kB / 0.7916 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.007037, allocations: 121.2 kB / 0.7917 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/0.007093, allocations: 69.19 kB / 0.7918 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.007113, allocations: 4 kB / 0.7918 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.007301, allocations: 181.4 kB / 0.792 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.007303, allocations: 0 / 0.792 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003229/0.007626, allocations: 262.6 kB / 0.7922 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.007687, allocations: 118.7 kB / 0.7923 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.00783, allocations: 252.6 kB / 0.7926 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.007846, allocations: 25.7 kB / 0.7926 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.007915, allocations: 172.7 kB / 0.7928 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.007948, allocations: 39.88 kB / 0.7928 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.007993, allocations: 35.36 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.008111, allocations: 0.504 MB / 0.7933 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.426e-05/0.008165, allocations: 54.88 kB / 0.7934 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.00822, allocations: 77.05 kB / 0.7935 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.008324, allocations: 134.6 kB / 0.7936 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008326, allocations: 0 / 0.7936 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001865/0.008513, allocations: 220 kB / 0.7938 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.008549, allocations: 39.41 kB / 0.7938 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.008553, allocations: 0 / 0.7938 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.008568, allocations: 4 kB / 0.7938 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.008655, allocations: 16 kB / 0.7939 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.008663, allocations: 3.984 kB / 0.7939 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.008717, allocations: 11.94 kB / 0.7939 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.00873, allocations: 4 kB / 0.7939 GB, free: 5.512 MB / 0.7448 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.0001089/0.008839, allocations: 204.6 kB / 0.7941 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.008868, allocations: 31.8 kB / 0.7941 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.009025, allocations: 91.19 kB / 0.7942 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.009028, allocations: 4 kB / 0.7942 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.009031, allocations: 2.469 kB / 0.7942 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.009035, allocations: 0 / 0.7942 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.009164, allocations: 176.8 kB / 0.7944 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.009167, allocations: 8 kB / 0.7944 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.009203, allocations: 19.88 kB / 0.7944 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.009206, allocations: 3.938 kB / 0.7944 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.009219, allocations: 4.844 kB / 0.7944 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.00922, allocations: 0 / 0.7944 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.009223, allocations: 400 / 0.7944 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.009458, allocations: 288.1 kB / 0.7947 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.009507, allocations: 35.88 kB / 0.7947 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.009535, allocations: 9.219 kB / 0.7947 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.673e-05/0.009581, allocations: 4 kB / 0.7947 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.00963, allocations: 15.92 kB / 0.7947 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.009646, allocations: 8.828 kB / 0.7947 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.267e-05/0.009728, allocations: 184.8 kB / 0.7949 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009729, allocations: 0 / 0.7949 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001687/0.009897, allocations: 42.75 kB / 0.795 GB, free: 4.32 MB / 0.7448 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.0001652/0.01006, allocations: 137.1 kB / 0.7951 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.01027, allocations: 214.4 kB / 0.7953 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01028, allocations: 0 / 0.7953 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.811e-05/0.01036, allocations: 144.7 kB / 0.7954 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.01054, allocations: 22.3 kB / 0.7955 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.01121, allocations: 336.7 kB / 0.7958 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.486e-05/0.01125, allocations: 75.31 kB / 0.7958 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.01129, allocations: 5.859 kB / 0.7958 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.01131, allocations: 20.5 kB / 0.7959 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.01132, allocations: 1.094 kB / 0.7959 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of Templates: time 0.003934/0.01525, allocations: 1.759 MB / 0.7976 GB, free: 1.547 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.145681533962488]