Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009636/0.0009636, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009887/0.0009887, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.976/0.976, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.372/2.372, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.949e-06/1.1e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001899/0.00191, allocations: 1.712 MB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008244/0.002735, allocations: 0.6619 MB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.002785, allocations: 0 / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.002911, allocations: 83.75 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.003112, allocations: 99.61 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.003335, allocations: 91.64 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.003484, allocations: 147.6 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.003542, allocations: 7.984 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.003704, allocations: 87.78 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.003823, allocations: 95.88 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.00384, allocations: 4 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.00397, allocations: 99.84 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.398e-05/0.004014, allocations: 31.86 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.004055, allocations: 35.84 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.004229, allocations: 167.5 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.00423, allocations: 4 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.01e-07/0.004231, allocations: 0 / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.004234, allocations: 0 / 0.8418 GB, free: 10.86 MB / 0.8073 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.0004058/0.00464, allocations: 401.5 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.004667, allocations: 8.625 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.004782, allocations: 20.92 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.004919, allocations: 153.2 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.004928, allocations: 384 / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.004939, allocations: 12.38 kB / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.005058, allocations: 125.1 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.005065, allocations: 4.188 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.005074, allocations: 8.359 kB / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.005079, allocations: 3.938 kB / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.707e-05/0.005127, allocations: 52.5 kB / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.005376, allocations: 263.2 kB / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.005705, allocations: 142.7 kB / 0.843 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.005744, allocations: 59.53 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.005755, allocations: 4 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.005884, allocations: 171.4 kB / 0.8432 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 9.42e-07/0.005885, allocations: 0 / 0.8432 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0001733/0.006059, allocations: 201.5 kB / 0.8434 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.006097, allocations: 114.8 kB / 0.8435 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/0.006187, allocations: 181.1 kB / 0.8437 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.0062, allocations: 29.7 kB / 0.8437 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.006233, allocations: 104.3 kB / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.006266, allocations: 31.73 kB / 0.8438 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.006306, allocations: 37.64 kB / 0.8439 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.006376, allocations: 334.7 kB / 0.8442 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.459e-05/0.00641, allocations: 52.53 kB / 0.8442 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.006451, allocations: 69.16 kB / 0.8443 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.637e-05/0.006527, allocations: 119.9 kB / 0.8444 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.006529, allocations: 0 / 0.8444 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001093/0.006638, allocations: 159.8 kB / 0.8446 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.006665, allocations: 45.62 kB / 0.8446 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006669, allocations: 0 / 0.8446 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.00668, allocations: 4 kB / 0.8446 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.006742, allocations: 15.94 kB / 0.8446 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.006746, allocations: 7.984 kB / 0.8446 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.006793, allocations: 12.03 kB / 0.8447 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.006802, allocations: 4 kB / 0.8447 GB, free: 7.641 MB / 0.8073 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 7.634e-05/0.006878, allocations: 158.3 kB / 0.8448 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.006899, allocations: 19.92 kB / 0.8448 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.317e-05/0.006992, allocations: 75.06 kB / 0.8449 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.006995, allocations: 7.984 kB / 0.8449 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.006997, allocations: 0 / 0.8449 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.006999, allocations: 0 / 0.8449 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.324e-05/0.007083, allocations: 106 kB / 0.845 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.007085, allocations: 4 kB / 0.845 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.007112, allocations: 12 kB / 0.845 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.007113, allocations: 0 / 0.845 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.007123, allocations: 4 kB / 0.845 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.007124, allocations: 4 kB / 0.845 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.007125, allocations: 3.938 kB / 0.845 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.007268, allocations: 210.4 kB / 0.8452 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.007308, allocations: 27.89 kB / 0.8453 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.007328, allocations: 4 kB / 0.8453 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.93e-05/0.007367, allocations: 7.938 kB / 0.8453 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.0074, allocations: 23.91 kB / 0.8453 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.007411, allocations: 4 kB / 0.8453 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.84e-05/0.00745, allocations: 48.88 kB / 0.8453 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.00745, allocations: 0 / 0.8453 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001398/0.007589, allocations: 47.94 kB / 0.8454 GB, free: 6.816 MB / 0.8073 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.0001161/0.007705, allocations: 124.2 kB / 0.8455 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.007856, allocations: 195.5 kB / 0.8457 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.007859, allocations: 4 kB / 0.8457 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.008e-05/0.007929, allocations: 129.9 kB / 0.8458 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.617e-05/0.008026, allocations: 15.98 kB / 0.8458 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.008524, allocations: 333.5 kB / 0.8462 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.747e-05/0.008561, allocations: 75.33 kB / 0.8462 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.008593, allocations: 12.89 kB / 0.8462 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.008671, allocations: 79.36 kB / 0.8463 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of SimCode: time 5.92e-07/0.008672, allocations: 4 kB / 0.8463 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of Templates: time 0.003249/0.01192, allocations: 1.855 MB / 0.8481 GB, free: 3.922 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.114693569950759]