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.00179/0.00179, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.002219/0.002219, allocations: 220 kB / 22.24 MB, free: 4.723 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.607/1.607, allocations: 230.6 MB / 256 MB, free: 7.812 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.295/3.295, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 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.002181/0.002181, allocations: 64.7 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3427, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003051/0.3457, allocations: 1.615 MB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3471, allocations: 0.6232 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/0.3472, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.3474, allocations: 75.83 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.3478, allocations: 107.6 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.3482, allocations: 103.8 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.3484, allocations: 127.7 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.3485, allocations: 8 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.3487, allocations: 79.72 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.3489, allocations: 107.8 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.349, allocations: 8 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.3492, allocations: 87.86 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.3492, allocations: 35.89 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.3493, allocations: 35.73 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.3496, allocations: 187.2 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3496, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3496, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3496, 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.0007813/0.3504, allocations: 415.1 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3504, allocations: 8.031 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.3506, allocations: 24.8 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.3509, allocations: 162.5 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3509, allocations: 4.375 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.3509, allocations: 16.36 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.3512, allocations: 157.3 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3512, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.3512, allocations: 4 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3512, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.3514, allocations: 105.6 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.3519, allocations: 332.6 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.3521, allocations: 146.7 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.3522, allocations: 99.48 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3522, allocations: 8 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.3525, allocations: 208.5 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.3525, allocations: 0 / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006284/0.3532, allocations: 402.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.3532, allocations: 114.8 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.3535, allocations: 210.8 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.3535, allocations: 29.7 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.3536, allocations: 116.1 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/0.3536, allocations: 31.73 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-05/0.3537, allocations: 33.7 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3539, allocations: 334.8 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.354, allocations: 89.69 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.3541, allocations: 111.4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.3544, allocations: 209.2 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3544, allocations: 0 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004124/0.3548, allocations: 301 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.3548, allocations: 41.64 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3548, allocations: 0 / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3548, allocations: 4 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.953e-05/0.3549, allocations: 11.98 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/0.355, allocations: 4 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.3551, allocations: 15.89 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3551, allocations: 7.984 kB / 1.332 GB, free: 10.65 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.0001741/0.3553, allocations: 180 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.3553, allocations: 19.91 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.3555, allocations: 99.09 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3555, allocations: 4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3555, allocations: 3.938 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3555, allocations: 3.984 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3557, allocations: 165.2 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3557, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.3558, allocations: 12 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3558, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.3558, allocations: 7.984 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3558, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3558, allocations: 4 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.3563, allocations: 373.1 kB / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/0.3564, allocations: 39.81 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.3564, allocations: 8.125 kB / 1.333 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3565, allocations: 12 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.3566, allocations: 11.98 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.3566, allocations: 7.984 kB / 1.333 GB, free: 9.625 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001512/0.3567, allocations: 164 kB / 1.333 GB, free: 9.465 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3567, allocations: 0 / 1.333 GB, free: 9.465 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002743/0.357, allocations: 47.92 kB / 1.333 GB, free: 9.418 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.0001968/0.3572, allocations: 123.2 kB / 1.333 GB, free: 9.289 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004076/0.3576, allocations: 278.7 kB / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3576, allocations: 0 / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.3578, allocations: 173 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.358, allocations: 15.94 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/0.3587, allocations: 383.5 kB / 1.334 GB, free: 8.379 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.3589, allocations: 114.1 kB / 1.334 GB, free: 8.242 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.385e-05/0.3589, allocations: 8 kB / 1.334 GB, free: 8.234 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.3589, allocations: 11.44 kB / 1.334 GB, free: 8.227 MB / 1.029 GB Notification: Performance of SimCode: time 4.2e-07/0.3589, allocations: 96 / 1.334 GB, free: 8.227 MB / 1.029 GB Notification: Performance of Templates: time 0.005551/0.3645, allocations: 1.829 MB / 1.336 GB, free: 6.426 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/jenkins/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: 9.215433081611991]