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.0011/0.0011, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001191/0.001191, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9398/0.9398, allocations: 177.2 MB / 204.2 MB, free: 5.602 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.854/1.854, allocations: 359 MB / 0.6052 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.403e-06/1.403e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.601e-05, allocations: 3.031 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002252/0.002278, allocations: 1.664 MB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009756/0.003253, allocations: 0.6647 MB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.003319, allocations: 0 / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.003476, allocations: 77.8 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.003735, allocations: 108.4 kB / 0.7895 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.004041, allocations: 104.9 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.004196, allocations: 131.7 kB / 0.7898 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.184e-05/0.004278, allocations: 8.906 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.004479, allocations: 100.4 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.004619, allocations: 104.8 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.00464, allocations: 8 kB / 0.79 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.004762, allocations: 83.91 kB / 0.79 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.004818, allocations: 35.08 kB / 0.7901 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.353e-05/0.004872, allocations: 35.91 kB / 0.7901 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.005093, allocations: 167.4 kB / 0.7903 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.005097, allocations: 4 kB / 0.7903 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005098, allocations: 0 / 0.7903 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.005103, allocations: 0 / 0.7903 GB, free: 9.219 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.0005755/0.005679, allocations: 0.5052 MB / 0.7908 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.005717, allocations: 15.97 kB / 0.7908 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.005879, allocations: 37.48 kB / 0.7908 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.006067, allocations: 158 kB / 0.791 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.006083, allocations: 4.375 kB / 0.791 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.0061, allocations: 4.375 kB / 0.791 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.006291, allocations: 143.9 kB / 0.7911 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.006301, allocations: 1.531 kB / 0.7911 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.006313, allocations: 384 / 0.7911 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.006322, allocations: 3.938 kB / 0.7911 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.063e-05/0.006393, allocations: 53.69 kB / 0.7912 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.006837, allocations: 472 kB / 0.7916 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.006979, allocations: 115.8 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.007041, allocations: 70.88 kB / 0.7918 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.007063, allocations: 0 / 0.7918 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.007245, allocations: 183.7 kB / 0.792 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.007246, allocations: 0 / 0.792 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003304/0.007576, allocations: 259.5 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.007627, allocations: 114.8 kB / 0.7923 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.007772, allocations: 252.4 kB / 0.7926 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.007788, allocations: 30.23 kB / 0.7926 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.007937, allocations: 163.7 kB / 0.7928 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.007975, allocations: 47.91 kB / 0.7928 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.008023, allocations: 40.52 kB / 0.7928 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.008152, allocations: 0.5001 MB / 0.7933 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.008208, allocations: 49.69 kB / 0.7934 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.008275, allocations: 91.17 kB / 0.7935 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.008385, allocations: 135.4 kB / 0.7936 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008387, allocations: 1.375 kB / 0.7936 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001978/0.008585, allocations: 216.8 kB / 0.7938 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.008618, allocations: 41.69 kB / 0.7938 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.008623, allocations: 0 / 0.7938 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.008639, allocations: 1.156 kB / 0.7938 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.008729, allocations: 15.94 kB / 0.7939 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.008737, allocations: 7.984 kB / 0.7939 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.008789, allocations: 5.031 kB / 0.7939 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.0088, allocations: 4 kB / 0.7939 GB, free: 5.164 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.0001054/0.008905, allocations: 211.8 kB / 0.7941 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.008931, allocations: 27.8 kB / 0.7941 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.0091, allocations: 100.4 kB / 0.7942 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.009103, allocations: 0 / 0.7942 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.009107, allocations: 4 kB / 0.7942 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.009111, allocations: 0 / 0.7942 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.009239, allocations: 177.5 kB / 0.7944 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.009241, allocations: 256 / 0.7944 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.009278, allocations: 12 kB / 0.7944 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.009281, allocations: 6.25 kB / 0.7944 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.009292, allocations: 4 kB / 0.7944 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.009295, allocations: 4 kB / 0.7944 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.009296, allocations: 0 / 0.7944 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.009539, allocations: 287.3 kB / 0.7947 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.009601, allocations: 35.77 kB / 0.7947 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.009631, allocations: 11.38 kB / 0.7947 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.009686, allocations: 8 kB / 0.7947 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.009733, allocations: 7.984 kB / 0.7947 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.009751, allocations: 15.92 kB / 0.7948 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.343e-05/0.009834, allocations: 179.2 kB / 0.7949 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009834, allocations: 0 / 0.7949 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001848/0.01002, allocations: 43.94 kB / 0.795 GB, free: 3.969 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.0001745/0.01019, allocations: 131.8 kB / 0.7951 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.01041, allocations: 214.9 kB / 0.7953 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01041, allocations: 4 kB / 0.7953 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.867e-05/0.0105, allocations: 141.3 kB / 0.7954 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.01068, allocations: 22.27 kB / 0.7955 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/0.01137, allocations: 337.7 kB / 0.7958 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.861e-05/0.01142, allocations: 88.12 kB / 0.7959 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.806e-05/0.01146, allocations: 9.844 kB / 0.7959 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.01149, allocations: 12.5 kB / 0.7959 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.01149, allocations: 0.6562 kB / 0.7959 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.004331/0.01582, allocations: 1.76 MB / 0.7976 GB, free: 1.195 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.328278566710651]