Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001976/0.001976, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002549/0.002549, allocations: 219.5 kB / 23 MB, free: 4.914 MB / 14.72 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 1.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.208/3.208, allocations: 0.4892 GB / 0.7951 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 68.94 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3622, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.004127/0.3664, allocations: 1.614 MB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3679, allocations: 0.6271 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.368, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.3682, allocations: 79.81 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.3686, allocations: 111.6 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.369, allocations: 103.7 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.3693, allocations: 123.7 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3694, allocations: 15.97 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.3697, allocations: 79.73 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.3699, allocations: 107.8 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.3699, allocations: 8 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.3701, allocations: 83.92 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.3702, allocations: 35.84 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.74e-05/0.3703, allocations: 39.67 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.3706, allocations: 179.3 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3706, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3706, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3706, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 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.0008891/0.3715, allocations: 419.1 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3716, allocations: 8.031 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.3718, allocations: 28.78 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.3721, allocations: 166.5 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.3721, allocations: 8.312 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.3722, allocations: 12.36 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.3724, allocations: 152.2 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3724, allocations: 4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3724, allocations: 0 / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3725, allocations: 0 / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.3726, allocations: 113.6 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.3731, allocations: 332.7 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.3733, allocations: 138.8 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.3735, allocations: 99.56 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.3735, allocations: 4 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003029/0.3738, allocations: 204.4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3738, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006675/0.3745, allocations: 402.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.177e-05/0.3746, allocations: 114.8 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.3748, allocations: 214.8 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3748, allocations: 25.7 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.3749, allocations: 116.1 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.375, allocations: 35.72 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.375, allocations: 33.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3752, allocations: 326.8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.3753, allocations: 97.61 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.3755, allocations: 109.4 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.3757, allocations: 201 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3757, allocations: 3.938 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004122/0.3761, allocations: 304.9 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.3762, allocations: 43.41 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3762, allocations: 4 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3762, allocations: 3.938 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3763, allocations: 11.98 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3763, allocations: 4 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.3764, allocations: 11.89 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.3764, allocations: 4.312 kB / 1.333 GB, free: 10.66 MB / 1.029 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.0001871/0.3766, allocations: 184.6 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.3767, allocations: 19.91 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.3769, allocations: 107.1 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3769, allocations: 4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3769, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3769, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.3771, allocations: 169.1 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3771, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.3771, allocations: 8 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3771, allocations: 4 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3772, allocations: 4 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3772, allocations: 8 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3772, allocations: 0 / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.3777, allocations: 377.1 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.389e-05/0.3778, allocations: 35.83 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.3778, allocations: 8 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/0.3779, allocations: 7.984 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.3779, allocations: 7.984 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.378, allocations: 8 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00017/0.3781, allocations: 172 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3781, allocations: 0 / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002602/0.3784, allocations: 43.94 kB / 1.334 GB, free: 9.422 MB / 1.029 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.00021/0.3786, allocations: 127.2 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004113/0.379, allocations: 278.7 kB / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.379, allocations: 3.938 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.3792, allocations: 165 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.3795, allocations: 21.98 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007279/0.3802, allocations: 415.7 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.3803, allocations: 115.8 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.3803, allocations: 11.44 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of SimCode: time 4.5e-07/0.3803, allocations: 0 / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of Templates: time 0.004654/0.385, allocations: 1.933 MB / 1.337 GB, free: 6.27 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.310833740979433]