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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 192.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.815/2.815, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002037/0.002037, allocations: 64.09 kB / 1.109 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8592/0.8612, allocations: 168.7 MB / 1.274 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003368/0.8646, allocations: 1.639 MB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.866, allocations: 0.6559 MB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.368e-05/0.8661, allocations: 0 / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.8663, allocations: 71.81 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.8667, allocations: 107.7 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.8671, allocations: 99.7 kB / 1.277 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.8673, allocations: 131.6 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.8674, allocations: 4 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.8676, allocations: 75.8 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.8678, allocations: 115.7 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.8678, allocations: 8 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.8679, allocations: 75.92 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.655e-05/0.868, allocations: 35.84 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.8681, allocations: 55.67 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.8684, allocations: 169.9 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8684, allocations: 0 / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.295e-06/0.8684, allocations: 0 / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.8684, allocations: 0 / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008595/0.8692, allocations: 484.2 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.8693, allocations: 16.03 kB / 1.278 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.274e-05/0.8694, allocations: 20.83 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.8697, allocations: 208.1 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.8697, allocations: 4.375 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.8698, allocations: 4.375 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.87, allocations: 131.6 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.87, allocations: 0 / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.87, allocations: 4 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.87, allocations: 4 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.8702, allocations: 71.95 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.8707, allocations: 408.8 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.8709, allocations: 109.2 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.8711, allocations: 81.56 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.8711, allocations: 3.938 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.8714, allocations: 174.1 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.8714, allocations: 0 / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005831/0.8719, allocations: 339.1 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.872, allocations: 110.8 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.8723, allocations: 213.9 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.8723, allocations: 25.7 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.8724, allocations: 116.1 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.8724, allocations: 39.88 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.8725, allocations: 33.66 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.8726, allocations: 334.8 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.24e-05/0.8727, allocations: 55.97 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.8728, allocations: 85.62 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.8731, allocations: 193.2 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8731, allocations: 0 / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000355/0.8734, allocations: 267.2 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.8735, allocations: 41.69 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.8735, allocations: 4 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.8735, allocations: 0 / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.8736, allocations: 15.92 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.8736, allocations: 4 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.8737, allocations: 8 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.8738, allocations: 8 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (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 (10): * Single equations (assignments): 9 * 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.0001764/0.8739, allocations: 181 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.874, allocations: 23.8 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.8742, allocations: 99 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.8742, allocations: 0 / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8742, allocations: 8 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.8742, allocations: 0 / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.8745, allocations: 241.4 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.8745, allocations: 0 / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.8745, allocations: 12 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.8745, allocations: 0 / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.8746, allocations: 7.984 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8746, allocations: 0 / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8746, allocations: 0 / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.875, allocations: 339.4 kB / 1.281 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.8751, allocations: 105 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.8752, allocations: 8 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.8753, allocations: 7.984 kB / 1.282 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.8753, allocations: 11.98 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.8754, allocations: 8.125 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001619/0.8755, allocations: 163.3 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8755, allocations: 4 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002757/0.8758, allocations: 43.94 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0002238/0.876, allocations: 133.5 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.8764, allocations: 215.4 kB / 1.282 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8764, allocations: 0 / 1.282 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.8766, allocations: 143.3 kB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.8768, allocations: 8 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006955/0.8775, allocations: 364.1 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.8779, allocations: 0.7197 MB / 1.283 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.22e-05/0.8779, allocations: 15.92 kB / 1.283 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.878, allocations: 15.44 kB / 1.283 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of SimCode: time 4.2e-07/0.878, allocations: 0 / 1.283 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of Templates: time 0.00564/0.8836, allocations: 1.707 MB / 1.285 GB, free: 8.773 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.948535380885005]