Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001388/0.001388, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001552/0.001552, allocations: 165.2 kB / 22.46 MB, free: 5.375 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.442/1.442, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.907/2.907, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.028e-05, allocations: 6.219 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002863/0.002893, allocations: 1.609 MB / 1.002 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.00419, allocations: 0.6349 MB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.004258, allocations: 0 / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.004455, allocations: 75.77 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.004771, allocations: 113.3 kB / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.005168, allocations: 103.6 kB / 1.003 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.005375, allocations: 135.6 kB / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.134e-05/0.005467, allocations: 15.92 kB / 1.003 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.005704, allocations: 87.84 kB / 1.003 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.005891, allocations: 111.8 kB / 1.003 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.005923, allocations: 8 kB / 1.003 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.006087, allocations: 79.94 kB / 1.003 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.006164, allocations: 39.83 kB / 1.003 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.13e-05/0.006235, allocations: 31.92 kB / 1.003 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.006551, allocations: 199.4 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.006558, allocations: 3.984 kB / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.433e-06/0.00656, allocations: 0 / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.00657, allocations: 0 / 1.003 GB, free: 4.051 MB / 0.9512 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.0007995/0.00737, allocations: 419.1 kB / 1.004 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.007412, allocations: 8.031 kB / 1.004 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.007604, allocations: 24.8 kB / 1.004 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.007959, allocations: 161.4 kB / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.007976, allocations: 4.375 kB / 1.004 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.008, allocations: 4.375 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.008297, allocations: 161.5 kB / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.008308, allocations: 8.125 kB / 1.004 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.008323, allocations: 4.375 kB / 1.004 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.008332, allocations: 7.875 kB / 1.004 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.008493, allocations: 101.7 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.009069, allocations: 348.5 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.009328, allocations: 150.8 kB / 1.005 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.00947, allocations: 99.52 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.009493, allocations: 4 kB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.009808, allocations: 215.2 kB / 1.005 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.00981, allocations: 0 / 1.005 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0006284/0.01044, allocations: 410.5 kB / 1.005 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.01052, allocations: 110.8 kB / 1.005 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.01076, allocations: 212.4 kB / 1.006 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.01079, allocations: 29.7 kB / 1.006 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.01088, allocations: 116.4 kB / 1.006 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.01093, allocations: 39.95 kB / 1.006 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.01099, allocations: 33.7 kB / 1.006 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.01115, allocations: 326.8 kB / 1.006 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.01128, allocations: 93.67 kB / 1.006 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.01149, allocations: 123.3 kB / 1.006 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.01174, allocations: 205 kB / 1.007 GB, free: 400 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01174, allocations: 0 / 1.007 GB, free: 400 kB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004821/0.01223, allocations: 324.7 kB / 1.007 GB, free: 56 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.01227, allocations: 37.69 kB / 1.007 GB, free: 12 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.01228, allocations: 0 / 1.007 GB, free: 12 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.01229, allocations: 0 / 1.007 GB, free: 12 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01242, allocations: 20.05 kB / 1.007 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01242, allocations: 0 / 1.007 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.01252, allocations: 7.938 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.01255, allocations: 11.98 kB / 1.007 GB, free: 15.97 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: 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.0001804/0.01273, allocations: 179.9 kB / 1.007 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.01277, allocations: 31.78 kB / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.013, allocations: 103.2 kB / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01301, allocations: 0 / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.01301, allocations: 0 / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.01302, allocations: 3.984 kB / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.0132, allocations: 161.2 kB / 1.007 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.0132, allocations: 4 kB / 1.007 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.01326, allocations: 11.94 kB / 1.007 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.01326, allocations: 7.938 kB / 1.007 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.01328, allocations: 11.98 kB / 1.007 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01329, allocations: 0 / 1.007 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.01329, allocations: 0 / 1.007 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004826/0.01377, allocations: 369.2 kB / 1.008 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.01385, allocations: 31.81 kB / 1.008 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.01388, allocations: 7.938 kB / 1.008 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.896e-05/0.01398, allocations: 8.25 kB / 1.008 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.01404, allocations: 11.92 kB / 1.008 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.01406, allocations: 19.98 kB / 1.008 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001522/0.01422, allocations: 164.8 kB / 1.008 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.01422, allocations: 0 / 1.008 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002933/0.01451, allocations: 44 kB / 1.008 GB, free: 14.74 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: 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.0002264/0.01474, allocations: 131.2 kB / 1.008 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004109/0.01515, allocations: 282.7 kB / 1.008 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01515, allocations: 0 / 1.008 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.01534, allocations: 173.5 kB / 1.009 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.01557, allocations: 15.98 kB / 1.009 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.01623, allocations: 391.1 kB / 1.009 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.01635, allocations: 114.2 kB / 1.009 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.475e-05/0.01639, allocations: 8.906 kB / 1.009 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.01643, allocations: 16.58 kB / 1.009 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.01643, allocations: 3.938 kB / 1.009 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of Templates: time 0.00561/0.02204, allocations: 1.724 MB / 1.011 GB, free: 11.82 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.105194557458162]