Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001836/0.001836, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002374/0.002374, allocations: 218.4 kB / 22.24 MB, free: 5.258 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.418/1.418, 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.041/3.041, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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.SolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001999/0.001999, allocations: 67.31 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3377, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006871/0.3446, allocations: 4.544 MB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.5227, allocations: 132.8 MB / 1.46 GB, free: 7.637 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008647/0.5235, allocations: 23.81 kB / 1.46 GB, free: 7.613 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006369/0.5242, allocations: 206.1 kB / 1.46 GB, free: 7.41 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.5261, allocations: 0.5931 MB / 1.461 GB, free: 6.816 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.5283, allocations: 0.9085 MB / 1.462 GB, free: 5.914 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001969/0.5302, allocations: 1.487 MB / 1.463 GB, free: 4.422 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007983/0.531, allocations: 429.5 kB / 1.464 GB, free: 3.977 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000896/0.5319, allocations: 0.5451 MB / 1.464 GB, free: 3.43 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007567/0.5327, allocations: 0.5523 MB / 1.465 GB, free: 2.875 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.5329, allocations: 124 kB / 1.465 GB, free: 2.754 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.534, allocations: 0.5192 MB / 1.465 GB, free: 2.234 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.5344, allocations: 326.9 kB / 1.466 GB, free: 1.914 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006028/0.535, allocations: 497.7 kB / 1.466 GB, free: 1.426 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.5375, allocations: 1.778 MB / 1.468 GB, free: 15.64 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5376, allocations: 0 / 1.468 GB, free: 15.64 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5376, allocations: 7.938 kB / 1.468 GB, free: 15.63 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.041e-05/0.5376, allocations: 3.938 kB / 1.468 GB, free: 15.63 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003147/0.5407, allocations: 1.484 MB / 1.469 GB, free: 14.11 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/0.5408, allocations: 8.031 kB / 1.469 GB, free: 14.1 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/0.541, allocations: 147.7 kB / 1.469 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.5431, allocations: 275.8 kB / 1.47 GB, free: 13.68 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.5446, allocations: 0.7297 MB / 1.47 GB, free: 12.92 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.099e-05/0.5447, allocations: 69.98 kB / 1.47 GB, free: 12.85 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.5448, allocations: 84 kB / 1.47 GB, free: 12.77 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.5468, allocations: 1.236 MB / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.5469, allocations: 0 / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-05/0.5469, allocations: 39.98 kB / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.547, allocations: 24 kB / 1.472 GB, free: 11.37 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.549, allocations: 1.116 MB / 1.473 GB, free: 10.25 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004712/0.5537, allocations: 2.4 MB / 1.475 GB, free: 7.789 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.5558, allocations: 0.8499 MB / 1.476 GB, free: 6.926 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.5564, allocations: 298.7 kB / 1.476 GB, free: 6.633 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-05/0.5565, allocations: 22.7 kB / 1.476 GB, free: 6.609 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.5575, allocations: 0.6396 MB / 1.477 GB, free: 5.93 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 3.226e-06/0.5575, allocations: 0 / 1.477 GB, free: 5.93 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003577/0.5611, allocations: 1.231 MB / 1.478 GB, free: 4.688 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.5613, allocations: 192.9 kB / 1.478 GB, free: 4.457 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.5623, allocations: 0.688 MB / 1.479 GB, free: 3.762 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.45e-05/0.5624, allocations: 45.64 kB / 1.479 GB, free: 3.711 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/0.5628, allocations: 417.2 kB / 1.479 GB, free: 3.297 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.5631, allocations: 289.5 kB / 1.48 GB, free: 3.012 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.5634, allocations: 166.6 kB / 1.48 GB, free: 2.844 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.5636, allocations: 394.7 kB / 1.48 GB, free: 2.449 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/0.5641, allocations: 269.8 kB / 1.481 GB, free: 2.184 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007635/0.5649, allocations: 0.5069 MB / 1.481 GB, free: 1.621 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.5661, allocations: 0.6281 MB / 1.482 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5661, allocations: 0 / 1.482 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002202/0.5683, allocations: 0.8725 MB / 1.482 GB, free: 100 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5683, allocations: 8 kB / 1.482 GB, free: 92 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5683, allocations: 3.984 kB / 1.482 GB, free: 88 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006612/0.569, allocations: 76.88 kB / 1.483 GB, free: 8 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007555/0.5698, allocations: 167.8 kB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.5721, allocations: 1.537 MB / 1.484 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000898/0.573, allocations: 101.4 kB / 1.484 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/0.573, allocations: 35.98 kB / 1.484 GB, free: 14.05 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0005479/0.5736, allocations: 275.5 kB / 1.485 GB, free: 13.77 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.5738, allocations: 91.44 kB / 1.485 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002778/0.5766, allocations: 1.195 MB / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.5766, allocations: 12 kB / 1.486 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5766, allocations: 0 / 1.486 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.5766, allocations: 7.969 kB / 1.486 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003811/0.5804, allocations: 1.938 MB / 1.488 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5804, allocations: 0 / 1.488 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006935/0.5811, allocations: 167.7 kB / 1.488 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004795/0.5816, allocations: 76.78 kB / 1.488 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/0.5817, allocations: 31.97 kB / 1.488 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.5838, allocations: 1.555 MB / 1.49 GB, free: 8.52 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5838, allocations: 0 / 1.49 GB, free: 8.52 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.5862, allocations: 1.104 MB / 1.491 GB, free: 7.395 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005355/0.5867, allocations: 223 kB / 1.491 GB, free: 7.176 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.5869, allocations: 20 kB / 1.491 GB, free: 7.156 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.5876, allocations: 75.86 kB / 1.491 GB, free: 7.082 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.5878, allocations: 92.77 kB / 1.491 GB, free: 6.992 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.414e-05/0.5879, allocations: 47.91 kB / 1.491 GB, free: 6.945 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006817/0.5886, allocations: 491 kB / 1.492 GB, free: 6.473 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.5886, allocations: 0 / 1.492 GB, free: 6.473 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000987/0.5896, allocations: 347.1 kB / 1.492 GB, free: 6.133 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 (106): * Single equations (assignments): 99 * 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.004678/0.5942, allocations: 2.204 MB / 1.494 GB, free: 4.109 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.5962, allocations: 0.8429 MB / 1.495 GB, free: 3.258 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5962, allocations: 0 / 1.495 GB, free: 3.258 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.5972, allocations: 0.5316 MB / 1.495 GB, free: 2.715 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.5987, allocations: 312.5 kB / 1.496 GB, free: 2.434 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.6108, allocations: 6.656 MB / 1.502 GB, free: 11.62 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.6113, allocations: 462.4 kB / 1.503 GB, free: 11.14 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009211/0.6122, allocations: 283.2 kB / 1.503 GB, free: 10.86 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006335/0.6129, allocations: 423.3 kB / 1.503 GB, free: 10.45 MB / 1.201 GB Notification: Performance of SimCode: time 9.52e-07/0.6129, allocations: 0 / 1.503 GB, free: 10.45 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0662/0.6791, allocations: 25.19 MB / 1.528 GB, free: 1.574 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.12, allocations: 3.938 kB / 1.528 GB, free: 1.57 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.842700001987396]