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.001709/0.001709, allocations: 103.5 kB / 16.4 MB, free: 6.496 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.001864/0.001864, allocations: 198.7 kB / 19.35 MB, free: 3.727 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.494/1.494, allocations: 222.9 MB / 245 MB, free: 15.01 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.788/2.788, allocations: 469.8 MB / 0.749 GB, free: 2.992 MB / 0.6075 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.001964/0.001964, allocations: 67.89 kB / 1.074 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8629/0.8649, allocations: 159.1 MB / 1.229 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003076/0.868, allocations: 1.596 MB / 1.231 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.8693, allocations: 0.6515 MB / 1.231 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.8694, allocations: 0 / 1.231 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.8696, allocations: 71.77 kB / 1.231 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.8699, allocations: 103.7 kB / 1.231 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.8703, allocations: 99.75 kB / 1.232 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.8705, allocations: 135.6 kB / 1.232 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.8706, allocations: 8 kB / 1.232 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.8708, allocations: 67.86 kB / 1.232 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.871, allocations: 111.7 kB / 1.232 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.871, allocations: 4 kB / 1.232 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.8712, allocations: 79.92 kB / 1.232 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.8713, allocations: 31.86 kB / 1.232 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.52e-05/0.8714, allocations: 55.66 kB / 1.232 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.8717, allocations: 169.7 kB / 1.232 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8717, allocations: 4 kB / 1.232 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8717, allocations: 0 / 1.232 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.8717, allocations: 0 / 1.232 GB, free: 1.676 MB / 0.9356 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.0008269/0.8725, allocations: 488.2 kB / 1.233 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.8726, allocations: 12.03 kB / 1.233 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.8726, allocations: 16.84 kB / 1.233 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.873, allocations: 212.1 kB / 1.233 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.873, allocations: 4.375 kB / 1.233 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.873, allocations: 12.31 kB / 1.233 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.8733, allocations: 123.7 kB / 1.233 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.8733, allocations: 3.984 kB / 1.233 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.8733, allocations: 8 kB / 1.233 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.8733, allocations: 0 / 1.233 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.8735, allocations: 71.91 kB / 1.233 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.874, allocations: 412.9 kB / 1.233 GB, free: 188 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.8742, allocations: 121 kB / 1.234 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.8744, allocations: 81.78 kB / 1.234 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.8744, allocations: 0 / 1.234 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.8747, allocations: 185.8 kB / 1.234 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.8747, allocations: 0 / 1.234 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0005813/0.8753, allocations: 335.3 kB / 1.234 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.8754, allocations: 110.8 kB / 1.234 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.8756, allocations: 216.8 kB / 1.234 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.8757, allocations: 25.7 kB / 1.235 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.8758, allocations: 116.1 kB / 1.235 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.8758, allocations: 43.88 kB / 1.235 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.8759, allocations: 29.67 kB / 1.235 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.876, allocations: 338.8 kB / 1.235 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.8762, allocations: 51.98 kB / 1.235 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.8763, allocations: 81.67 kB / 1.235 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.8765, allocations: 192.9 kB / 1.235 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8765, allocations: 0 / 1.235 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003651/0.8769, allocations: 275.2 kB / 1.236 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/0.877, allocations: 37.7 kB / 1.236 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.877, allocations: 4.297 kB / 1.236 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.877, allocations: 4 kB / 1.236 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.8771, allocations: 12 kB / 1.236 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.8771, allocations: 7.984 kB / 1.236 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.8772, allocations: 7.984 kB / 1.236 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.8773, allocations: 8 kB / 1.236 GB, free: 13.78 MB / 0.9512 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.0001858/0.8774, allocations: 189.6 kB / 1.236 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.8775, allocations: 19.86 kB / 1.236 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.8777, allocations: 103.1 kB / 1.236 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.8777, allocations: 0 / 1.236 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8778, allocations: 4 kB / 1.236 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.8778, allocations: 0 / 1.236 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.878, allocations: 233.5 kB / 1.236 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.878, allocations: 0 / 1.236 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.8781, allocations: 11.98 kB / 1.236 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8781, allocations: 8 kB / 1.236 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.8781, allocations: 4 kB / 1.236 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8781, allocations: 3.938 kB / 1.236 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8781, allocations: 0 / 1.236 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.8786, allocations: 331.5 kB / 1.237 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.8787, allocations: 108.9 kB / 1.237 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.8787, allocations: 8 kB / 1.237 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.96e-05/0.8788, allocations: 8 kB / 1.237 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.8789, allocations: 7.984 kB / 1.237 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.8789, allocations: 8 kB / 1.237 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001528/0.8791, allocations: 167.2 kB / 1.237 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8791, allocations: 0 / 1.237 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002594/0.8793, allocations: 39.94 kB / 1.237 GB, free: 12.43 MB / 0.9512 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.0002242/0.8796, allocations: 137.4 kB / 1.237 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.8799, allocations: 247.3 kB / 1.237 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8799, allocations: 0 / 1.237 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.8802, allocations: 163.4 kB / 1.237 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.8804, allocations: 11.98 kB / 1.237 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.881, allocations: 348.1 kB / 1.238 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.8814, allocations: 0.729 MB / 1.238 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.165e-05/0.8815, allocations: 7.938 kB / 1.238 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.8815, allocations: 19.42 kB / 1.238 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of SimCode: time 3.7e-07/0.8815, allocations: 4 kB / 1.238 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of Templates: time 0.005097/0.8866, allocations: 1.667 MB / 1.24 GB, free: 9.047 MB / 0.9512 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.630556957796216]