Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001631/0.001631, allocations: 108 kB / 16.45 MB, free: 6.035 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.001842/0.001842, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.359/1.359, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.722/2.722, allocations: 476.7 MB / 0.7611 GB, free: 11.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 67.89 kB / 1.104 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6789/0.6808, allocations: 168.7 MB / 1.269 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003181/0.6839, allocations: 1.622 MB / 1.27 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.6852, allocations: 0.652 MB / 1.271 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.6852, allocations: 0 / 1.271 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.6854, allocations: 67.84 kB / 1.271 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.6857, allocations: 107.7 kB / 1.271 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.6861, allocations: 99.69 kB / 1.271 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.6863, allocations: 131.7 kB / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.6864, allocations: 8 kB / 1.271 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.6865, allocations: 71.8 kB / 1.271 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.6867, allocations: 115.7 kB / 1.272 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.6867, allocations: 4 kB / 1.272 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.6869, allocations: 75.94 kB / 1.272 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.6869, allocations: 35.83 kB / 1.272 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.473e-05/0.687, allocations: 55.67 kB / 1.272 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.6873, allocations: 169.1 kB / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.6873, allocations: 8 kB / 1.272 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6873, allocations: 0 / 1.272 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.6873, allocations: 0 / 1.272 GB, free: 1.934 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.0007948/0.6881, allocations: 484.2 kB / 1.272 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.6881, allocations: 12.03 kB / 1.272 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.6882, allocations: 38.69 kB / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.6882, allocations: 16.84 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.6886, allocations: 212.1 kB / 1.273 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.6886, allocations: 12.38 kB / 1.273 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.6886, allocations: 4.375 kB / 1.273 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.6888, allocations: 139.4 kB / 1.273 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.6888, allocations: 0 / 1.273 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.6889, allocations: 0 / 1.273 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.6889, allocations: 0 / 1.273 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.689, allocations: 71.97 kB / 1.273 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.6895, allocations: 412.8 kB / 1.273 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.6897, allocations: 105.1 kB / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.6898, allocations: 69.78 kB / 1.273 GB, free: 204 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.6898, allocations: 7.984 kB / 1.273 GB, free: 196 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.6901, allocations: 175 kB / 1.274 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.6901, allocations: 0 / 1.274 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005839/0.6907, allocations: 339 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.6908, allocations: 110.8 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.691, allocations: 212.1 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.691, allocations: 29.7 kB / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.6911, allocations: 120.1 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.6912, allocations: 31.73 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/0.6912, allocations: 37.66 kB / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6914, allocations: 334.7 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.399e-05/0.6915, allocations: 60.22 kB / 1.275 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-05/0.6916, allocations: 73.69 kB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.6918, allocations: 201 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6918, allocations: 4.094 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003476/0.6921, allocations: 271.1 kB / 1.275 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.6922, allocations: 41.69 kB / 1.275 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6922, allocations: 0 / 1.275 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.6922, allocations: 0 / 1.275 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.6923, allocations: 15.94 kB / 1.275 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.6923, allocations: 0 / 1.275 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.6924, allocations: 15.92 kB / 1.275 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.6925, allocations: 8 kB / 1.275 GB, free: 14.01 MB / 0.9825 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.0001671/0.6926, allocations: 181.2 kB / 1.276 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.6927, allocations: 19.86 kB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.6929, allocations: 103 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6929, allocations: 3.938 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6929, allocations: 0 / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6929, allocations: 0 / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.6931, allocations: 233.5 kB / 1.276 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6931, allocations: 0 / 1.276 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.034e-05/0.6932, allocations: 12 kB / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.6932, allocations: 0 / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.6932, allocations: 4 kB / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6932, allocations: 0 / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6932, allocations: 4.125 kB / 1.276 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.6936, allocations: 335.4 kB / 1.276 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.6938, allocations: 116.9 kB / 1.276 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.6938, allocations: 12 kB / 1.276 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/0.6939, allocations: 4 kB / 1.276 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.6939, allocations: 11.98 kB / 1.276 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.694, allocations: 11.97 kB / 1.276 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001417/0.6941, allocations: 155.2 kB / 1.276 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.6941, allocations: 0 / 1.276 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002734/0.6944, allocations: 47.92 kB / 1.277 GB, free: 12.66 MB / 0.9825 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.0008618/0.6952, allocations: 0.8939 MB / 1.277 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003438/0.6956, allocations: 213.8 kB / 1.278 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6956, allocations: 192 / 1.278 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.6958, allocations: 139.5 kB / 1.278 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.696, allocations: 15.94 kB / 1.278 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.6985, allocations: 2.249 MB / 1.28 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.6989, allocations: 0.7275 MB / 1.281 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.019e-05/0.6989, allocations: 15.92 kB / 1.281 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.699, allocations: 43.42 kB / 1.281 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.699, allocations: 0 / 1.281 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.7253, allocations: 3.549 MB / 1.284 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.681, allocations: 4 kB / 1.284 GB, free: 4.793 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.384625086095184]