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.001558/0.001558, allocations: 112.9 kB / 18.94 MB, free: 2.93 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.001716/0.001716, allocations: 186.6 kB / 22.22 MB, free: 5.105 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.396/1.396, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 443.4 MB / 0.7321 GB, free: 12.34 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001959/0.001959, allocations: 68.03 kB / 1.061 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7953/0.7972, allocations: 160.8 MB / 1.218 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003457/0.8007, allocations: 1.627 MB / 1.22 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.802, allocations: 0.6605 MB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.8021, allocations: 1.25 kB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.8023, allocations: 82 kB / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.8026, allocations: 101.2 kB / 1.221 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.803, allocations: 99.3 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.8032, allocations: 129.5 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.751e-05/0.8033, allocations: 8.062 kB / 1.221 GB, free: 1.785 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.8035, allocations: 79.38 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.8037, allocations: 115.2 kB / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.8038, allocations: 6.281 kB / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.8039, allocations: 75.59 kB / 1.221 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.804, allocations: 36.31 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.498e-05/0.8041, allocations: 57 kB / 1.221 GB, free: 1.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.8043, allocations: 171.2 kB / 1.222 GB, free: 1.484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.635e-05/0.8044, allocations: 5.062 kB / 1.222 GB, free: 1.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8044, allocations: 0 / 1.222 GB, free: 1.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.8044, allocations: 4 kB / 1.222 GB, free: 1.477 MB / 0.92 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.0008054/0.8052, allocations: 483.6 kB / 1.222 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8052, allocations: 9.781 kB / 1.222 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.8053, allocations: 20.62 kB / 1.222 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.8056, allocations: 208.6 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.8056, allocations: 3.156 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.8056, allocations: 3.656 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.8059, allocations: 131.4 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.8059, allocations: 0 / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.8059, allocations: 2.031 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.8059, allocations: 0.9375 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.806, allocations: 72.36 kB / 1.223 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.8065, allocations: 413.7 kB / 1.223 GB, free: 220 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.8067, allocations: 111.8 kB / 1.223 GB, free: 136 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.8068, allocations: 69.27 kB / 1.223 GB, free: 100 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.8069, allocations: 1.031 kB / 1.223 GB, free: 100 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002987/0.8072, allocations: 176.9 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.8072, allocations: 0 / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005977/0.8078, allocations: 345.8 kB / 1.224 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.8078, allocations: 107.2 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.8081, allocations: 219.4 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.8081, allocations: 30.66 kB / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.8082, allocations: 116.4 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.8082, allocations: 28.16 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.8083, allocations: 33.02 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.8085, allocations: 332.1 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.8086, allocations: 66.53 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.8087, allocations: 80.72 kB / 1.225 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.8089, allocations: 190.3 kB / 1.225 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8089, allocations: 0.9688 kB / 1.225 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003662/0.8093, allocations: 270.7 kB / 1.225 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.8093, allocations: 37.53 kB / 1.225 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8093, allocations: 4 kB / 1.225 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.8093, allocations: 1.125 kB / 1.225 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.8095, allocations: 19.36 kB / 1.225 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.8095, allocations: 1.312 kB / 1.225 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.8096, allocations: 8.469 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.8096, allocations: 8.438 kB / 1.225 GB, free: 14.59 MB / 0.9356 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.000167/0.8097, allocations: 177.7 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.8098, allocations: 16.97 kB / 1.225 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.81, allocations: 112 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.81, allocations: 1.312 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.81, allocations: 1.594 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.81, allocations: 0 / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.8102, allocations: 239.2 kB / 1.226 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8102, allocations: 0 / 1.226 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.8103, allocations: 8.438 kB / 1.226 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.8103, allocations: 1.125 kB / 1.226 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.8103, allocations: 15.27 kB / 1.226 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.8103, allocations: 1.375 kB / 1.226 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8103, allocations: 1.594 kB / 1.226 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.8108, allocations: 341.8 kB / 1.226 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.8109, allocations: 106.3 kB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.8109, allocations: 4.062 kB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.811, allocations: 9.328 kB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.811, allocations: 14.86 kB / 1.226 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.8111, allocations: 5.188 kB / 1.226 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001579/0.8112, allocations: 160.4 kB / 1.226 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8112, allocations: 0 / 1.226 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002661/0.8115, allocations: 42.94 kB / 1.226 GB, free: 13.62 MB / 0.9356 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.0002118/0.8117, allocations: 138.5 kB / 1.226 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.812, allocations: 212.4 kB / 1.227 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.812, allocations: 4 kB / 1.227 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.8122, allocations: 136.5 kB / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.8124, allocations: 13.09 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.8131, allocations: 344.3 kB / 1.227 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.8135, allocations: 0.7289 MB / 1.228 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.8135, allocations: 7.984 kB / 1.228 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.8135, allocations: 12.38 kB / 1.228 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of SimCode: time 6.41e-07/0.8135, allocations: 0 / 1.228 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of Templates: time 0.005283/0.8188, allocations: 1.735 MB / 1.229 GB, free: 11.46 MB / 0.9356 GB " [Timeout remaining time 299] 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.470241848379374]