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.0007948/0.0007948, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.00078/0.00078, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8501/0.8501, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.627/1.627, allocations: 359 MB / 0.6044 GB, free: 11.11 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.643e-06/1.643e-06, allocations: 0 / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.942e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001897/0.001916, allocations: 1.611 MB / 0.9533 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007865/0.002703, allocations: 0.6431 MB / 0.9539 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.002757, allocations: 0 / 0.9539 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.002893, allocations: 75.81 kB / 0.954 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.003107, allocations: 115.5 kB / 0.9541 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.003377, allocations: 95.7 kB / 0.9542 GB, free: 472 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.003519, allocations: 143.6 kB / 0.9543 GB, free: 328 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.003599, allocations: 11.94 kB / 0.9543 GB, free: 316 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.003779, allocations: 83.84 kB / 0.9544 GB, free: 232 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.003913, allocations: 115.8 kB / 0.9545 GB, free: 116 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.003933, allocations: 8 kB / 0.9545 GB, free: 108 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.004035, allocations: 79.92 kB / 0.9546 GB, free: 28 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.004102, allocations: 39.84 kB / 0.9546 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.004149, allocations: 31.92 kB / 0.9547 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.004366, allocations: 199.4 kB / 0.9549 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004368, allocations: 3.938 kB / 0.9549 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004369, allocations: 0 / 0.9549 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.004373, allocations: 0 / 0.9549 GB, free: 15.76 MB / 0.9167 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.0005382/0.004911, allocations: 419 kB / 0.9553 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.004945, allocations: 8.031 kB / 0.9553 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.005066, allocations: 24.83 kB / 0.9553 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.005242, allocations: 171.2 kB / 0.9555 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.005258, allocations: 4.359 kB / 0.9555 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.005271, allocations: 4.375 kB / 0.9555 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.005449, allocations: 153.6 kB / 0.9556 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.005459, allocations: 8.125 kB / 0.9556 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.00547, allocations: 384 / 0.9556 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.005475, allocations: 3.938 kB / 0.9556 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.88e-05/0.005574, allocations: 105.7 kB / 0.9557 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.005921, allocations: 348.7 kB / 0.9561 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.006063, allocations: 142.8 kB / 0.9562 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.269e-05/0.006136, allocations: 103.5 kB / 0.9563 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.006155, allocations: 4 kB / 0.9563 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.006337, allocations: 212.3 kB / 0.9565 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.006338, allocations: 0 / 0.9565 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0003768/0.006715, allocations: 410.7 kB / 0.9569 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.00676, allocations: 106.8 kB / 0.957 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.006892, allocations: 222.3 kB / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.006912, allocations: 29.7 kB / 0.9572 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.006963, allocations: 112.4 kB / 0.9573 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.006997, allocations: 43.84 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.00704, allocations: 33.7 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.007128, allocations: 326.8 kB / 0.9577 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.007209, allocations: 105.7 kB / 0.9578 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.968e-05/0.007289, allocations: 111.4 kB / 0.9579 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.007438, allocations: 208.9 kB / 0.9581 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.007441, allocations: 4 kB / 0.9581 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000241/0.007682, allocations: 316.8 kB / 0.9584 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.007715, allocations: 41.69 kB / 0.9585 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.00772, allocations: 0 / 0.9585 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.007732, allocations: 4 kB / 0.9585 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.265e-05/0.007805, allocations: 12 kB / 0.9585 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.007811, allocations: 320 / 0.9585 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.00787, allocations: 15.88 kB / 0.9585 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.007885, allocations: 12 kB / 0.9585 GB, free: 11.67 MB / 0.9167 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.0001048/0.00799, allocations: 175.5 kB / 0.9587 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.00801, allocations: 23.84 kB / 0.9587 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.008172, allocations: 111.2 kB / 0.9588 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008174, allocations: 4 kB / 0.9588 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.008178, allocations: 0 / 0.9588 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.008182, allocations: 0 / 0.9588 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.008293, allocations: 165.2 kB / 0.959 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008294, allocations: 7.984 kB / 0.959 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.008324, allocations: 11.94 kB / 0.959 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.008327, allocations: 3.938 kB / 0.959 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.008342, allocations: 7.984 kB / 0.959 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008343, allocations: 0 / 0.959 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.008344, allocations: 0 / 0.959 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.008626, allocations: 372.3 kB / 0.9594 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.008671, allocations: 27.89 kB / 0.9594 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.008876, allocations: 11.94 kB / 0.9594 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.826e-05/0.008924, allocations: 7.984 kB / 0.9594 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.008977, allocations: 15.92 kB / 0.9594 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.008992, allocations: 8 kB / 0.9594 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.991e-05/0.009082, allocations: 160.5 kB / 0.9596 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009082, allocations: 3.938 kB / 0.9596 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001761/0.009258, allocations: 47.89 kB / 0.9596 GB, free: 10.45 MB / 0.9167 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.0001567/0.009415, allocations: 141.3 kB / 0.9598 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.009669, allocations: 298.7 kB / 0.9601 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009671, allocations: 0 / 0.9601 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.009774, allocations: 173 kB / 0.9602 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.009918, allocations: 14.06 kB / 0.9602 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.01034, allocations: 410.2 kB / 0.9606 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.934e-05/0.01041, allocations: 118.2 kB / 0.9607 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.01043, allocations: 12.5 kB / 0.9607 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/0.01044, allocations: 0 / 0.9607 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of Templates: time 0.002436/0.01287, allocations: 1.969 MB / 0.9627 GB, free: 7.238 MB / 0.9167 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=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: 6.37578936573118]