Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.001535/0.001535, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.00175/0.00175, allocations: 215.8 kB / 22.24 MB, free: 5.242 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.797 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.188/3.188, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] 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.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.002055/0.002055, allocations: 65.8 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3365, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006865/0.3434, allocations: 4.518 MB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.17/0.5134, allocations: 132.9 MB / 1.498 GB, free: 4.172 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009406/0.5144, allocations: 19.88 kB / 1.498 GB, free: 4.152 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006412/0.515, allocations: 202.2 kB / 1.498 GB, free: 3.953 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.517, allocations: 0.5976 MB / 1.498 GB, free: 3.355 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.5193, allocations: 0.8656 MB / 1.499 GB, free: 2.496 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002042/0.5213, allocations: 1.475 MB / 1.501 GB, free: 1.016 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008327/0.5221, allocations: 409.9 kB / 1.501 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008841/0.523, allocations: 0.5334 MB / 1.502 GB, free: 56 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007847/0.5238, allocations: 0.4898 MB / 1.502 GB, free: 15.56 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.524, allocations: 124 kB / 1.502 GB, free: 15.44 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.5251, allocations: 499.6 kB / 1.503 GB, free: 14.95 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.5254, allocations: 314.9 kB / 1.503 GB, free: 14.64 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.5259, allocations: 493.7 kB / 1.503 GB, free: 14.16 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.5284, allocations: 1.755 MB / 1.505 GB, free: 12.4 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5284, allocations: 0 / 1.505 GB, free: 12.4 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5284, allocations: 0 / 1.505 GB, free: 12.4 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.571e-05/0.5284, allocations: 0 / 1.505 GB, free: 12.4 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002976/0.5314, allocations: 1.468 MB / 1.507 GB, free: 10.89 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5314, allocations: 8.031 kB / 1.507 GB, free: 10.89 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001819/0.5316, allocations: 139.7 kB / 1.507 GB, free: 10.74 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.5335, allocations: 271.9 kB / 1.507 GB, free: 10.48 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.535, allocations: 0.7336 MB / 1.508 GB, free: 9.715 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.108e-05/0.5351, allocations: 66 kB / 1.508 GB, free: 9.648 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.5352, allocations: 87.98 kB / 1.508 GB, free: 9.562 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.5372, allocations: 1.22 MB / 1.509 GB, free: 8.242 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.5372, allocations: 0 / 1.509 GB, free: 8.242 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.283e-05/0.5373, allocations: 39.98 kB / 1.509 GB, free: 8.203 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.5373, allocations: 20 kB / 1.509 GB, free: 8.184 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.5393, allocations: 1.12 MB / 1.51 GB, free: 7.062 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004637/0.5439, allocations: 2.392 MB / 1.512 GB, free: 4.605 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.5455, allocations: 0.7866 MB / 1.513 GB, free: 3.812 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/0.5461, allocations: 294.7 kB / 1.514 GB, free: 3.52 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.899e-05/0.5461, allocations: 28.62 kB / 1.514 GB, free: 3.492 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.5472, allocations: 0.6258 MB / 1.514 GB, free: 2.828 MB / 1.201 GB Notification: Performance of pre-optimization done (n=88): time 2.826e-06/0.5472, allocations: 0 / 1.514 GB, free: 2.828 MB / 1.201 GB Notification: Performance of matching and sorting (n=88): time 0.003539/0.5507, allocations: 1.231 MB / 1.515 GB, free: 1.59 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.5509, allocations: 192.9 kB / 1.516 GB, free: 1.359 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.5519, allocations: 0.6802 MB / 1.516 GB, free: 0.668 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.552, allocations: 49.7 kB / 1.516 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.5524, allocations: 421.2 kB / 1.517 GB, free: 200 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.5526, allocations: 297.6 kB / 1.517 GB, free: 15.9 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.5529, allocations: 162.6 kB / 1.517 GB, free: 15.73 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.5531, allocations: 398.7 kB / 1.517 GB, free: 15.34 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/0.5537, allocations: 269.8 kB / 1.518 GB, free: 15.07 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007492/0.5544, allocations: 0.5029 MB / 1.518 GB, free: 14.51 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.5557, allocations: 0.6359 MB / 1.519 GB, free: 13.86 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5557, allocations: 0 / 1.519 GB, free: 13.86 MB / 1.217 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00215/0.5578, allocations: 0.884 MB / 1.52 GB, free: 12.97 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5578, allocations: 8 kB / 1.52 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5578, allocations: 0 / 1.52 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/0.5585, allocations: 84.83 kB / 1.52 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.5592, allocations: 163.8 kB / 1.52 GB, free: 12.72 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.5614, allocations: 1.515 MB / 1.521 GB, free: 11.08 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008352/0.5623, allocations: 103.5 kB / 1.522 GB, free: 10.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-05/0.5624, allocations: 35.91 kB / 1.522 GB, free: 10.95 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (97): * Single equations (assignments): 96 * 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.000515/0.5629, allocations: 271.4 kB / 1.522 GB, free: 10.67 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.5631, allocations: 95.39 kB / 1.522 GB, free: 10.58 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.5658, allocations: 1.172 MB / 1.523 GB, free: 9.398 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.5659, allocations: 8 kB / 1.523 GB, free: 9.391 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5659, allocations: 4 kB / 1.523 GB, free: 9.387 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.5659, allocations: 7.984 kB / 1.523 GB, free: 9.379 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.5671, allocations: 0.7819 MB / 1.524 GB, free: 8.555 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.5671, allocations: 0 / 1.524 GB, free: 8.555 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.5677, allocations: 155.8 kB / 1.524 GB, free: 8.402 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/0.5682, allocations: 76.72 kB / 1.524 GB, free: 8.324 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-05/0.5683, allocations: 27.97 kB / 1.524 GB, free: 8.297 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.5703, allocations: 1.543 MB / 1.526 GB, free: 6.625 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5703, allocations: 4.062 kB / 1.526 GB, free: 6.621 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.5727, allocations: 1.006 MB / 1.527 GB, free: 5.598 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005681/0.5732, allocations: 223 kB / 1.527 GB, free: 5.379 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.5734, allocations: 23.94 kB / 1.527 GB, free: 5.355 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006762/0.5741, allocations: 65.89 kB / 1.527 GB, free: 5.293 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.5742, allocations: 84.84 kB / 1.527 GB, free: 5.207 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.371e-05/0.5743, allocations: 39.97 kB / 1.527 GB, free: 5.168 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007278/0.5751, allocations: 499 kB / 1.527 GB, free: 4.684 MB / 1.217 GB Notification: Performance of sort global known variables: time 2e-07/0.5751, allocations: 0 / 1.527 GB, free: 4.684 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009104/0.576, allocations: 339.2 kB / 1.528 GB, free: 4.352 MB / 1.217 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.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.004598/0.5806, allocations: 2.106 MB / 1.53 GB, free: 2.422 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001959/0.5825, allocations: 0.8274 MB / 1.531 GB, free: 1.582 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5825, allocations: 0 / 1.531 GB, free: 1.582 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.5836, allocations: 0.5158 MB / 1.531 GB, free: 1.059 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.585, allocations: 299.5 kB / 1.531 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.5972, allocations: 6.606 MB / 1.538 GB, free: 10.03 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.5977, allocations: 464.1 kB / 1.538 GB, free: 9.551 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009528/0.5987, allocations: 267.2 kB / 1.539 GB, free: 9.285 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000662/0.5994, allocations: 427.2 kB / 1.539 GB, free: 8.867 MB / 1.232 GB Notification: Performance of SimCode: time 1.062e-06/0.5994, allocations: 0 / 1.539 GB, free: 8.867 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07298/0.6723, allocations: 24.72 MB / 1.563 GB, free: 464 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.77, allocations: 16.86 kB / 1.563 GB, free: 452 kB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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: 21.564607799053192]