Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001121/0.001121, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001391/0.001391, allocations: 215.7 kB / 22.24 MB, free: 5.105 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 7.812 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.044/3.044, allocations: 0.49 GB / 0.7951 GB, free: 35.51 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.AltitudeAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.002632/0.002632, allocations: 64.53 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3589, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006559/0.3655, allocations: 4.493 MB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1731/0.5386, allocations: 132.7 MB / 1.46 GB, free: 7.727 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.5397, allocations: 23.81 kB / 1.46 GB, free: 7.703 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006879/0.5404, allocations: 198.2 kB / 1.46 GB, free: 7.508 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.5427, allocations: 0.5793 MB / 1.461 GB, free: 6.93 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.5449, allocations: 0.8727 MB / 1.461 GB, free: 6.062 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001949/0.5469, allocations: 1.456 MB / 1.463 GB, free: 4.602 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007688/0.5476, allocations: 418.2 kB / 1.463 GB, free: 4.168 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008367/0.5485, allocations: 0.5295 MB / 1.464 GB, free: 3.637 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007004/0.5492, allocations: 0.5289 MB / 1.464 GB, free: 3.105 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.5493, allocations: 124 kB / 1.464 GB, free: 2.984 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.5504, allocations: 0.5074 MB / 1.465 GB, free: 2.477 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.5507, allocations: 307 kB / 1.465 GB, free: 2.176 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.5512, allocations: 477.7 kB / 1.466 GB, free: 1.707 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.5534, allocations: 1.736 MB / 1.467 GB, free: 15.96 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5534, allocations: 0 / 1.467 GB, free: 15.96 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5534, allocations: 0 / 1.467 GB, free: 15.96 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.5534, allocations: 0 / 1.467 GB, free: 15.96 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002821/0.5562, allocations: 1.464 MB / 1.469 GB, free: 14.46 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.5563, allocations: 8.031 kB / 1.469 GB, free: 14.46 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.5564, allocations: 143.6 kB / 1.469 GB, free: 14.31 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.5581, allocations: 247.9 kB / 1.469 GB, free: 14.07 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.5595, allocations: 0.7335 MB / 1.47 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.5596, allocations: 65.98 kB / 1.47 GB, free: 13.24 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.5597, allocations: 84 kB / 1.47 GB, free: 13.16 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.5615, allocations: 1.201 MB / 1.471 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.5615, allocations: 3.938 kB / 1.471 GB, free: 11.85 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-05/0.5616, allocations: 43.92 kB / 1.471 GB, free: 11.81 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.5616, allocations: 27.94 kB / 1.471 GB, free: 11.78 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.5634, allocations: 1.077 MB / 1.472 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004015/0.5674, allocations: 2.259 MB / 1.475 GB, free: 8.375 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.5689, allocations: 0.7868 MB / 1.475 GB, free: 7.574 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005374/0.5695, allocations: 290.7 kB / 1.476 GB, free: 7.285 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.273e-05/0.5695, allocations: 20.64 kB / 1.476 GB, free: 7.266 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.5705, allocations: 0.6259 MB / 1.476 GB, free: 6.602 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.545e-06/0.5705, allocations: 4 kB / 1.476 GB, free: 6.598 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003405/0.5739, allocations: 1.184 MB / 1.477 GB, free: 5.402 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.5741, allocations: 200.8 kB / 1.478 GB, free: 5.164 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009272/0.575, allocations: 0.6607 MB / 1.478 GB, free: 4.496 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-05/0.5751, allocations: 45.7 kB / 1.478 GB, free: 4.445 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.5755, allocations: 413 kB / 1.479 GB, free: 4.035 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.5757, allocations: 293.6 kB / 1.479 GB, free: 3.746 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.576, allocations: 154.6 kB / 1.479 GB, free: 3.59 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.5762, allocations: 386.8 kB / 1.479 GB, free: 3.203 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.5767, allocations: 257.9 kB / 1.48 GB, free: 2.949 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/0.5774, allocations: 0.4999 MB / 1.48 GB, free: 2.391 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.5785, allocations: 0.6055 MB / 1.481 GB, free: 1.77 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5785, allocations: 0 / 1.481 GB, free: 1.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002034/0.5806, allocations: 0.8452 MB / 1.482 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.5806, allocations: 7.938 kB / 1.482 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5806, allocations: 8.125 kB / 1.482 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006481/0.5812, allocations: 84.7 kB / 1.482 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/0.5819, allocations: 163.7 kB / 1.482 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.5843, allocations: 1.521 MB / 1.483 GB, free: 15.01 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/0.5851, allocations: 91.55 kB / 1.483 GB, free: 14.92 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/0.5851, allocations: 35.91 kB / 1.483 GB, free: 14.89 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005122/0.5856, allocations: 278.4 kB / 1.484 GB, free: 14.61 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.5858, allocations: 95.38 kB / 1.484 GB, free: 14.51 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.5884, allocations: 1.144 MB / 1.485 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.5884, allocations: 8 kB / 1.485 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5884, allocations: 3.938 kB / 1.485 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.5885, allocations: 3.984 kB / 1.485 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003483/0.5919, allocations: 1.884 MB / 1.487 GB, free: 11.41 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.592, allocations: 4 kB / 1.487 GB, free: 11.4 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.5926, allocations: 151.8 kB / 1.487 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/0.593, allocations: 72.8 kB / 1.487 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/0.5931, allocations: 31.97 kB / 1.487 GB, free: 11.15 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.5951, allocations: 1.543 MB / 1.489 GB, free: 9.48 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5951, allocations: 0 / 1.489 GB, free: 9.48 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.5973, allocations: 1.061 MB / 1.49 GB, free: 8.398 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/0.5978, allocations: 215 kB / 1.49 GB, free: 8.188 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.5979, allocations: 27.95 kB / 1.49 GB, free: 8.16 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007266/0.5987, allocations: 67.92 kB / 1.49 GB, free: 8.094 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.5988, allocations: 80.84 kB / 1.49 GB, free: 8.016 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/0.5989, allocations: 36.05 kB / 1.49 GB, free: 7.98 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006389/0.5995, allocations: 487 kB / 1.49 GB, free: 7.512 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5995, allocations: 0 / 1.49 GB, free: 7.512 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009151/0.6005, allocations: 343 kB / 1.491 GB, free: 7.176 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004331/0.6048, allocations: 2.155 MB / 1.493 GB, free: 5.203 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0018/0.6066, allocations: 0.8158 MB / 1.494 GB, free: 4.379 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6066, allocations: 0 / 1.494 GB, free: 4.379 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.6076, allocations: 0.5118 MB / 1.494 GB, free: 3.855 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.6089, allocations: 304.6 kB / 1.494 GB, free: 3.582 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.6199, allocations: 6.496 MB / 1.501 GB, free: 12.93 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.6204, allocations: 453.4 kB / 1.501 GB, free: 12.45 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009062/0.6214, allocations: 279 kB / 1.502 GB, free: 12.18 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006196/0.622, allocations: 403.3 kB / 1.502 GB, free: 11.78 MB / 1.201 GB Notification: Performance of SimCode: time 1.483e-06/0.622, allocations: 0 / 1.502 GB, free: 11.78 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06117/0.6831, allocations: 24.49 MB / 1.526 GB, free: 3.617 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.13, allocations: 10.89 kB / 1.526 GB, free: 3.609 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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: 20.706592875998467]