Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001304/0.001304, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001417/0.001417, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.101/3.101, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",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.00195/0.00195, allocations: 67.25 kB / 1.17 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3265, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00282/0.3293, allocations: 1.595 MB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3305, allocations: 0.6349 MB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.026e-05/0.3305, allocations: 4 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.3307, allocations: 71.83 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.331, allocations: 113.8 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.3313, allocations: 99.7 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.3315, allocations: 127.7 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.468e-05/0.3316, allocations: 7.984 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.3318, allocations: 83.8 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.332, allocations: 107.8 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.332, allocations: 8 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3321, allocations: 95.84 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.3322, allocations: 23.92 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.3323, allocations: 39.73 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.3325, allocations: 191.4 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3325, allocations: 0 / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.066e-06/0.3325, allocations: 3.984 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3325, allocations: 4 kB / 1.348 GB, free: 12.75 MB / 1.045 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.0006867/0.3332, allocations: 411.1 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3333, allocations: 8.031 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.308e-05/0.3333, allocations: 4.188 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.3333, allocations: 38.73 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.3335, allocations: 20.84 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.3337, allocations: 162 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.3337, allocations: 4.375 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.3337, allocations: 4.375 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.334, allocations: 164.9 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.334, allocations: 3.938 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.334, allocations: 0 / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.334, allocations: 4 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3342, allocations: 101.7 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.3346, allocations: 379.9 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.3348, allocations: 134.8 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.3349, allocations: 99.48 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3349, allocations: 4 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002727/0.3352, allocations: 204.5 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.3352, allocations: 0 / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005677/0.3358, allocations: 410.6 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.3359, allocations: 110.8 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3361, allocations: 218.5 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3361, allocations: 25.7 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.3362, allocations: 112.1 kB / 1.351 GB, free: 9.906 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.3362, allocations: 31.73 kB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.3363, allocations: 37.64 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3364, allocations: 330.8 kB / 1.351 GB, free: 9.5 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3365, allocations: 93.67 kB / 1.351 GB, free: 9.402 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3366, allocations: 111.4 kB / 1.351 GB, free: 9.281 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.3368, allocations: 193.1 kB / 1.352 GB, free: 9.074 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3369, allocations: 0 / 1.352 GB, free: 9.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003656/0.3372, allocations: 308.8 kB / 1.352 GB, free: 8.754 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.3373, allocations: 39.88 kB / 1.352 GB, free: 8.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3373, allocations: 96 / 1.352 GB, free: 8.711 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3373, allocations: 7.938 kB / 1.352 GB, free: 8.703 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3374, allocations: 15.94 kB / 1.352 GB, free: 8.688 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3374, allocations: 4 kB / 1.352 GB, free: 8.684 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3375, allocations: 11.92 kB / 1.352 GB, free: 8.672 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.3375, allocations: 8 kB / 1.352 GB, free: 8.664 MB / 1.045 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.0001628/0.3377, allocations: 183.5 kB / 1.352 GB, free: 8.469 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.3377, allocations: 15.91 kB / 1.352 GB, free: 8.453 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.3379, allocations: 107.3 kB / 1.352 GB, free: 8.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3379, allocations: 4 kB / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3379, allocations: 64 / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3379, allocations: 7.938 kB / 1.352 GB, free: 8.328 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.3381, allocations: 192.6 kB / 1.353 GB, free: 8.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3381, allocations: 4 kB / 1.353 GB, free: 8.094 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.3382, allocations: 8 kB / 1.353 GB, free: 8.086 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3382, allocations: 0 / 1.353 GB, free: 8.086 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3382, allocations: 7.984 kB / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3382, allocations: 0 / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3382, allocations: 240 / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.3387, allocations: 379.6 kB / 1.353 GB, free: 7.676 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.3388, allocations: 35.77 kB / 1.353 GB, free: 7.641 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.3388, allocations: 4 kB / 1.353 GB, free: 7.637 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.755e-05/0.3389, allocations: 8 kB / 1.353 GB, free: 7.629 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.3389, allocations: 11.98 kB / 1.353 GB, free: 7.617 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.339, allocations: 11.98 kB / 1.353 GB, free: 7.605 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001428/0.3391, allocations: 160.4 kB / 1.353 GB, free: 7.449 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3391, allocations: 0 / 1.353 GB, free: 7.449 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000272/0.3394, allocations: 51.92 kB / 1.353 GB, free: 7.398 MB / 1.045 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.0008744/0.3403, allocations: 0.925 MB / 1.354 GB, free: 6.43 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.3406, allocations: 274.7 kB / 1.354 GB, free: 6.137 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3406, allocations: 0 / 1.354 GB, free: 6.137 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.3408, allocations: 169 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.3411, allocations: 19.78 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.3438, allocations: 2.416 MB / 1.357 GB, free: 3.379 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.3439, allocations: 114.1 kB / 1.357 GB, free: 3.25 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.348e-05/0.344, allocations: 7.984 kB / 1.357 GB, free: 3.242 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.344, allocations: 47.42 kB / 1.357 GB, free: 3.195 MB / 1.045 GB Notification: Performance of SimCode: time 5.91e-07/0.344, allocations: 0 / 1.357 GB, free: 3.195 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.368, allocations: 3.789 MB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.94, allocations: 23.77 kB / 1.361 GB, free: 15.55 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.426875087898225] Failed to read output from testmodel.py, exit status != 0: 12.114162509911694 12.143079686 11.806289111 Calling exit ...