Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002081/0.002081, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.002623/0.002623, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.511/1.511, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 443.4 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.91 kB / 1.059 GB, free: 388 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3348, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002934/0.3377, allocations: 1.633 MB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3389, allocations: 0.6593 MB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.339, allocations: 0 / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.3391, allocations: 71.83 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.3394, allocations: 115.6 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.3398, allocations: 91.77 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.34, allocations: 127.7 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.482e-05/0.3401, allocations: 11.98 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.3402, allocations: 75.8 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.3404, allocations: 115.7 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.3405, allocations: 4 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.3406, allocations: 79.92 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.3407, allocations: 35.78 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.326e-05/0.3407, allocations: 51.69 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.341, allocations: 171.3 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.341, allocations: 0 / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.341, allocations: 0 / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.341, allocations: 0 / 1.219 GB, free: 12.11 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.0008178/0.3418, allocations: 488.2 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3419, allocations: 12.03 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.3419, allocations: 20.83 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.3422, allocations: 212.1 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3422, allocations: 4.312 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.3422, allocations: 4.375 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.3425, allocations: 127.4 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3425, allocations: 4 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3425, allocations: 4 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3425, allocations: 0 / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.3426, allocations: 79.88 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.3431, allocations: 404.9 kB / 1.221 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.3433, allocations: 109.1 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3434, allocations: 69.83 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.3434, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002617/0.3437, allocations: 182.7 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.3437, allocations: 4 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.000559/0.3442, allocations: 339.1 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.3443, allocations: 106.8 kB / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.3445, allocations: 222.5 kB / 1.222 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.3446, allocations: 25.7 kB / 1.222 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.3447, allocations: 120.1 kB / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.3447, allocations: 35.94 kB / 1.222 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.3448, allocations: 25.7 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3449, allocations: 338.8 kB / 1.222 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.345, allocations: 63.91 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3451, allocations: 77.69 kB / 1.222 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.3453, allocations: 193.3 kB / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3453, allocations: 3.938 kB / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000367/0.3457, allocations: 271 kB / 1.223 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.3458, allocations: 39.09 kB / 1.223 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3458, allocations: 4 kB / 1.223 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3458, allocations: 4 kB / 1.223 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3459, allocations: 11.98 kB / 1.223 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3459, allocations: 4 kB / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.346, allocations: 8 kB / 1.223 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.346, allocations: 4 kB / 1.223 GB, free: 8.246 MB / 0.9669 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.000179/0.3462, allocations: 181.1 kB / 1.223 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.3462, allocations: 15.91 kB / 1.223 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.3465, allocations: 107 kB / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3465, allocations: 4 kB / 1.223 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3465, allocations: 0 / 1.223 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3465, allocations: 96 / 1.223 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.3467, allocations: 241.4 kB / 1.223 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3467, allocations: 0 / 1.223 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.3467, allocations: 15.94 kB / 1.223 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3467, allocations: 0 / 1.223 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.3468, allocations: 11.98 kB / 1.223 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3468, allocations: 0 / 1.223 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3468, allocations: 4 kB / 1.223 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.3472, allocations: 339.4 kB / 1.224 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3473, allocations: 105.2 kB / 1.224 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.3474, allocations: 8 kB / 1.224 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3475, allocations: 11.97 kB / 1.224 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/0.3476, allocations: 15.98 kB / 1.224 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.3476, allocations: 8 kB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001737/0.3478, allocations: 164.2 kB / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3478, allocations: 0 / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002764/0.348, allocations: 47.94 kB / 1.224 GB, free: 6.875 MB / 0.9669 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.0002312/0.3483, allocations: 131 kB / 1.224 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.3486, allocations: 203.3 kB / 1.224 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3486, allocations: 0 / 1.224 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.3488, allocations: 147.3 kB / 1.224 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.3491, allocations: 8 kB / 1.224 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007003/0.3498, allocations: 357.8 kB / 1.225 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.3502, allocations: 0.7313 MB / 1.225 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.423e-05/0.3503, allocations: 7.984 kB / 1.225 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.3503, allocations: 11.44 kB / 1.225 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.3503, allocations: 0 / 1.225 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of Templates: time 0.005439/0.3557, allocations: 1.696 MB / 1.227 GB, free: 3.527 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.225846835412085]