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.00183/0.00183, allocations: 110.2 kB / 16.46 MB, free: 6.508 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.002252/0.002252, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.404/1.404, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.059/3.059, allocations: 0.49 GB / 0.7916 GB, free: 33.36 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.002019/0.002019, allocations: 72.86 kB / 1.149 GB, free: 26.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3282, allocations: 176.1 MB / 1.321 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003123/0.3313, allocations: 1.636 MB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.3326, allocations: 0.6856 MB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.965e-05/0.3327, allocations: 3.938 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.3329, allocations: 79.81 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.3332, allocations: 103.7 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.3336, allocations: 107.6 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.3338, allocations: 123.7 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.043e-05/0.3339, allocations: 8 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.3341, allocations: 75.73 kB / 1.324 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.3343, allocations: 119.7 kB / 1.324 GB, free: 488 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.3344, allocations: 12 kB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.3345, allocations: 87.92 kB / 1.324 GB, free: 388 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.3346, allocations: 23.92 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.3347, allocations: 55.61 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.335, allocations: 183.5 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.335, allocations: 4 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.132e-06/0.335, allocations: 3.938 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.335, allocations: 0 / 1.324 GB, free: 116 kB / 1.014 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.0007802/0.3357, allocations: 484.2 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.3358, allocations: 15.98 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.3358, allocations: 38.73 kB / 1.325 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.336, allocations: 20.84 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.3363, allocations: 216 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3363, allocations: 384 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.3363, allocations: 4.375 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.3366, allocations: 139.4 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3366, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3366, allocations: 8 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3366, allocations: 4 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.3367, allocations: 67.97 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.3372, allocations: 404.9 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.3374, allocations: 105.2 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.3375, allocations: 77.77 kB / 1.326 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.3376, allocations: 3.938 kB / 1.326 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.3378, allocations: 174.8 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.3378, allocations: 0 / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005754/0.3384, allocations: 339.2 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.3385, allocations: 114.8 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.3387, allocations: 214.6 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.3387, allocations: 25.7 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.3388, allocations: 116.1 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.3389, allocations: 39.73 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.3389, allocations: 25.7 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3391, allocations: 334.8 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-05/0.3392, allocations: 63.97 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3393, allocations: 81.62 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.3395, allocations: 185.1 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3395, allocations: 0 / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003601/0.3399, allocations: 271.2 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.3399, allocations: 37.69 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3399, allocations: 4 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.34, allocations: 0 / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3401, allocations: 11.94 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3401, allocations: 8 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.3402, allocations: 19.88 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.3402, allocations: 4 kB / 1.327 GB, free: 12.2 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.0001716/0.3404, allocations: 179.5 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.3404, allocations: 15.91 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.3406, allocations: 95.38 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3406, allocations: 7.938 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3406, allocations: 4.062 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3406, allocations: 4 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.3408, allocations: 237.5 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3408, allocations: 0 / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.3409, allocations: 12 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3409, allocations: 0 / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.3409, allocations: 8 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3409, allocations: 0 / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3409, allocations: 0 / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.3413, allocations: 343.4 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.855e-05/0.3414, allocations: 108.9 kB / 1.328 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.3415, allocations: 8 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.624e-05/0.3416, allocations: 4 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.3416, allocations: 16.08 kB / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.3417, allocations: 11.97 kB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001434/0.3418, allocations: 159 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3418, allocations: 4 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002717/0.3421, allocations: 47.92 kB / 1.329 GB, free: 10.84 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.0008699/0.3429, allocations: 0.8919 MB / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003367/0.3433, allocations: 223.3 kB / 1.33 GB, free: 9.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3433, allocations: 0 / 1.33 GB, free: 9.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.3434, allocations: 135.4 kB / 1.33 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.3437, allocations: 16.12 kB / 1.33 GB, free: 9.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.3462, allocations: 2.245 MB / 1.332 GB, free: 7.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.3466, allocations: 0.7245 MB / 1.333 GB, free: 6.422 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.98e-05/0.3466, allocations: 4 kB / 1.333 GB, free: 6.418 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.3467, allocations: 39.42 kB / 1.333 GB, free: 6.379 MB / 1.029 GB Notification: Performance of SimCode: time 4.5e-07/0.3467, allocations: 0 / 1.333 GB, free: 6.379 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.3734, allocations: 3.55 MB / 1.336 GB, free: 2.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/8.392, allocations: 7.469 kB / 1.336 GB, free: 2.977 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.69065098487772]