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.001356/0.001356, allocations: 111.9 kB / 17.54 MB, free: 4.641 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.001408/0.001408, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.313/1.313, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 179] 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.5/2.5, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 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.001981/0.001981, allocations: 67.89 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/0.7665, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002361/0.7689, allocations: 1.625 MB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.7698, allocations: 0.655 MB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.7699, allocations: 0.9688 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.7701, allocations: 72.83 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.7703, allocations: 113.4 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.7706, allocations: 97.44 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.7708, allocations: 129.6 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.565e-05/0.7709, allocations: 5.422 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.771, allocations: 79 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.7712, allocations: 112.9 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.7713, allocations: 5.969 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.7714, allocations: 74.86 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.7714, allocations: 42.25 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.7715, allocations: 54.08 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.7717, allocations: 171.5 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7717, allocations: 0.9375 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7717, allocations: 0 / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.7717, allocations: 0 / 1.275 GB, free: 5.852 MB / 0.9981 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.0005822/0.7723, allocations: 489.7 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.7724, allocations: 9.656 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.896e-05/0.7724, allocations: 38.89 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.7724, allocations: 16.84 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.7726, allocations: 221.1 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.7726, allocations: 2.188 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.7726, allocations: 8.781 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.7728, allocations: 125.2 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.7728, allocations: 0.7812 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.7728, allocations: 5.219 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.7728, allocations: 0.875 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.773, allocations: 74.14 kB / 1.275 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.7733, allocations: 400.2 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.7734, allocations: 109.9 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.237e-05/0.7735, allocations: 72.91 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.7735, allocations: 0.9375 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.7737, allocations: 178.7 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.7737, allocations: 0 / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0004863/0.7742, allocations: 338 kB / 1.277 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.7743, allocations: 115.2 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.7744, allocations: 210.7 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.7745, allocations: 32.92 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.7745, allocations: 114.7 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.7745, allocations: 34.94 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.7746, allocations: 37.27 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.7746, allocations: 332.3 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.7747, allocations: 57.72 kB / 1.277 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.691e-05/0.7748, allocations: 79.52 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.775, allocations: 199.5 kB / 1.278 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.775, allocations: 0 / 1.278 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003068/0.7753, allocations: 265 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.7754, allocations: 41.77 kB / 1.278 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7754, allocations: 4.938 kB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.7754, allocations: 1.766 kB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.7755, allocations: 12.77 kB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.7755, allocations: 1.734 kB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.7756, allocations: 14.81 kB / 1.278 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.7756, allocations: 5.094 kB / 1.278 GB, free: 3.148 MB / 0.9981 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.0001134/0.7757, allocations: 181 kB / 1.278 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.7757, allocations: 21.83 kB / 1.278 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.7759, allocations: 110.3 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7759, allocations: 1.844 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7759, allocations: 1.172 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.7759, allocations: 0.8438 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.7761, allocations: 231.8 kB / 1.279 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.7761, allocations: 0 / 1.279 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.206e-05/0.7761, allocations: 8.594 kB / 1.279 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7761, allocations: 0.7812 kB / 1.279 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.7761, allocations: 9.031 kB / 1.279 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7761, allocations: 2 kB / 1.279 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7761, allocations: 0.9375 kB / 1.279 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.7765, allocations: 340.4 kB / 1.279 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.7766, allocations: 108.2 kB / 1.279 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.7766, allocations: 6.594 kB / 1.279 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.7767, allocations: 9 kB / 1.279 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.7767, allocations: 12.5 kB / 1.279 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.7767, allocations: 8.75 kB / 1.279 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001123/0.7768, allocations: 160.1 kB / 1.279 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7768, allocations: 0 / 1.279 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002414/0.7771, allocations: 46.88 kB / 1.279 GB, free: 2.281 MB / 0.9981 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.0006145/0.7777, allocations: 0.9002 MB / 1.28 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002839/0.778, allocations: 209.5 kB / 1.28 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.778, allocations: 3.938 kB / 1.28 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.7781, allocations: 138.6 kB / 1.28 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.7783, allocations: 10.78 kB / 1.28 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.7802, allocations: 2.258 MB / 1.283 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.7805, allocations: 0.7232 MB / 1.283 GB, free: 15.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.7806, allocations: 10.64 kB / 1.283 GB, free: 15.13 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.7806, allocations: 47.45 kB / 1.283 GB, free: 15.09 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.7806, allocations: 0 / 1.283 GB, free: 15.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.8043, allocations: 3.519 MB / 1.287 GB, free: 14.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.879/7.683, allocations: 7.484 kB / 1.287 GB, free: 14.53 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/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: 12.97091570199973]