Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001728/0.001728, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002243/0.002243, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.167/3.167, allocations: 0.49 GB / 0.7951 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.11 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3237, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003016/0.3267, allocations: 1.641 MB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.328, allocations: 0.6895 MB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.3281, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.3282, allocations: 79.81 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.3285, allocations: 107.7 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.3289, allocations: 107.6 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.3292, allocations: 127.7 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3293, allocations: 7.984 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.3295, allocations: 79.73 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.3297, allocations: 111.8 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3297, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.3299, allocations: 87.92 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.33, allocations: 39.89 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3301, allocations: 55.61 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.3304, allocations: 183.5 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3304, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3304, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3304, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 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.0007819/0.3312, allocations: 411.1 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.3312, allocations: 8.031 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.289e-05/0.3313, allocations: 38.75 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.3315, allocations: 28.8 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.3318, allocations: 158.9 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3318, allocations: 4.375 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3318, allocations: 4.375 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.3321, allocations: 131.4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3321, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3321, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3321, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.3322, allocations: 75.91 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.3329, allocations: 380 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.3331, allocations: 101.1 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3332, allocations: 73.78 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3332, allocations: 8 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/0.3336, allocations: 169.5 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3336, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005906/0.3342, allocations: 335.1 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.172e-05/0.3343, allocations: 114.8 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.3345, allocations: 214.5 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3345, allocations: 33.7 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.3346, allocations: 116.1 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.3347, allocations: 31.73 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.3347, allocations: 33.66 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3349, allocations: 334.7 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.113e-05/0.335, allocations: 59.98 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3351, allocations: 83.5 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.3353, allocations: 197 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3353, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004221/0.3357, allocations: 267.3 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.3358, allocations: 33.7 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3358, allocations: 4.219 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3358, allocations: 3.984 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3359, allocations: 19.94 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3359, allocations: 3.984 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.336, allocations: 19.88 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.336, allocations: 8.312 kB / 1.332 GB, free: 10.9 MB / 1.029 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.0001709/0.3362, allocations: 179.5 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3362, allocations: 15.91 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.3365, allocations: 103 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3365, allocations: 4 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3365, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3365, allocations: 4 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.3367, allocations: 200.6 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3367, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/0.3368, allocations: 15.98 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3368, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3368, allocations: 4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3368, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3368, allocations: 4.094 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.3373, allocations: 351.3 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-05/0.3373, allocations: 39.8 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.3374, allocations: 4 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.445e-05/0.3375, allocations: 8 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.3375, allocations: 7.984 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.3375, allocations: 7.984 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001625/0.3377, allocations: 164 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3377, allocations: 0 / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00027/0.338, allocations: 59.86 kB / 1.334 GB, free: 9.656 MB / 1.029 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.0009184/0.3389, allocations: 0.8882 MB / 1.334 GB, free: 8.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003372/0.3392, allocations: 215.3 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3392, allocations: 0 / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3394, allocations: 139.4 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.3396, allocations: 21.8 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.3423, allocations: 2.226 MB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.3427, allocations: 0.7275 MB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.232e-05/0.3428, allocations: 4 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.3428, allocations: 43.42 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of SimCode: time 8.71e-07/0.3429, allocations: 0 / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.3759, allocations: 3.709 MB / 1.341 GB, free: 1.656 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.62, allocations: 2.25 kB / 1.341 GB, free: 1.656 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.183734531980008]