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.002023/0.002023, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002709/0.002709, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 8.004 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.34/3.34, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.00229/0.00229, allocations: 60.59 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3517, allocations: 180.2 MB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007676/0.3594, allocations: 5.067 MB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.179/0.5384, allocations: 154.3 MB / 1.509 GB, free: 8.492 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.5394, allocations: 23.81 kB / 1.509 GB, free: 8.469 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008585/0.5403, allocations: 210.1 kB / 1.509 GB, free: 8.262 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.5424, allocations: 0.5956 MB / 1.509 GB, free: 7.668 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.545, allocations: 0.8862 MB / 1.51 GB, free: 6.785 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002178/0.5471, allocations: 1.479 MB / 1.512 GB, free: 5.297 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009164/0.548, allocations: 418 kB / 1.512 GB, free: 4.863 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009236/0.549, allocations: 0.5411 MB / 1.513 GB, free: 4.32 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009991/0.55, allocations: 0.5445 MB / 1.513 GB, free: 3.773 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003408/0.5503, allocations: 124 kB / 1.513 GB, free: 3.652 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.5517, allocations: 0.5113 MB / 1.514 GB, free: 3.141 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004436/0.5521, allocations: 322.9 kB / 1.514 GB, free: 2.824 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00088/0.553, allocations: 0.5829 MB / 1.515 GB, free: 2.238 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.5558, allocations: 1.747 MB / 1.516 GB, free: 496 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5558, allocations: 7.938 kB / 1.516 GB, free: 488 kB / 1.201 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5558, allocations: 0 / 1.516 GB, free: 488 kB / 1.201 GB Notification: Performance of Transformations before backend: time 5.329e-05/0.5558, allocations: 0 / 1.516 GB, free: 488 kB / 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.003606/0.5594, allocations: 1.472 MB / 1.518 GB, free: 14.97 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5595, allocations: 11.97 kB / 1.518 GB, free: 14.96 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002564/0.5597, allocations: 143.7 kB / 1.518 GB, free: 14.81 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.5618, allocations: 271.9 kB / 1.518 GB, free: 14.54 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.5634, allocations: 0.7336 MB / 1.519 GB, free: 13.79 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-05/0.5635, allocations: 66 kB / 1.519 GB, free: 13.72 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.5636, allocations: 87.98 kB / 1.519 GB, free: 13.63 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.5653, allocations: 0.9691 MB / 1.52 GB, free: 12.62 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.5653, allocations: 0 / 1.52 GB, free: 12.62 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.39e-05/0.5654, allocations: 36 kB / 1.52 GB, free: 12.59 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.5654, allocations: 20 kB / 1.52 GB, free: 12.57 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.5674, allocations: 1.159 MB / 1.521 GB, free: 11.41 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004922/0.5723, allocations: 2.875 MB / 1.524 GB, free: 8.406 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.5739, allocations: 0.8008 MB / 1.525 GB, free: 7.598 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/0.5745, allocations: 294.7 kB / 1.525 GB, free: 7.309 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.77e-05/0.5746, allocations: 32.69 kB / 1.525 GB, free: 7.277 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009903/0.5756, allocations: 0.5293 MB / 1.526 GB, free: 6.73 MB / 1.217 GB Notification: Performance of pre-optimization done (n=88): time 2.384e-06/0.5756, allocations: 4 kB / 1.526 GB, free: 6.727 MB / 1.217 GB Notification: Performance of matching and sorting (n=88): time 0.003536/0.5792, allocations: 1.231 MB / 1.527 GB, free: 5.492 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.5793, allocations: 196.9 kB / 1.527 GB, free: 5.254 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.5804, allocations: 0.6763 MB / 1.528 GB, free: 4.57 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.496e-05/0.5805, allocations: 45.7 kB / 1.528 GB, free: 4.52 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.5809, allocations: 429.1 kB / 1.528 GB, free: 4.094 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.5812, allocations: 293.5 kB / 1.528 GB, free: 3.805 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.5815, allocations: 162.5 kB / 1.528 GB, free: 3.641 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002297/0.5818, allocations: 394.7 kB / 1.529 GB, free: 3.246 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005986/0.5824, allocations: 265.9 kB / 1.529 GB, free: 2.988 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006942/0.583, allocations: 390.5 kB / 1.529 GB, free: 2.574 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.5843, allocations: 0.6398 MB / 1.53 GB, free: 1.926 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.5843, allocations: 0 / 1.53 GB, free: 1.926 MB / 1.217 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00218/0.5864, allocations: 0.8687 MB / 1.531 GB, free: 1.047 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.5865, allocations: 4 kB / 1.531 GB, free: 1.043 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.5865, allocations: 4 kB / 1.531 GB, free: 1.039 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000657/0.5871, allocations: 88.77 kB / 1.531 GB, free: 0.9492 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.5879, allocations: 163.8 kB / 1.531 GB, free: 0.7891 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.5903, allocations: 1.533 MB / 1.533 GB, free: 15.14 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008471/0.5911, allocations: 111.5 kB / 1.533 GB, free: 15.03 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.599e-05/0.5912, allocations: 35.97 kB / 1.533 GB, free: 15 MB / 1.232 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.0005696/0.5918, allocations: 269.4 kB / 1.533 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.592, allocations: 91.44 kB / 1.533 GB, free: 14.63 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/0.5948, allocations: 1.164 MB / 1.534 GB, free: 13.45 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.5948, allocations: 12 kB / 1.534 GB, free: 13.44 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5948, allocations: 4 kB / 1.534 GB, free: 13.44 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.5948, allocations: 7.969 kB / 1.534 GB, free: 13.43 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.5961, allocations: 0.9222 MB / 1.535 GB, free: 12.46 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.5961, allocations: 0 / 1.535 GB, free: 12.46 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/0.5968, allocations: 151.8 kB / 1.535 GB, free: 12.32 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/0.5973, allocations: 76.72 kB / 1.535 GB, free: 12.24 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.86e-05/0.5974, allocations: 31.97 kB / 1.535 GB, free: 12.21 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.5994, allocations: 1.562 MB / 1.537 GB, free: 10.53 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5995, allocations: 0 / 1.537 GB, free: 10.53 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.6017, allocations: 1.002 MB / 1.538 GB, free: 9.5 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005268/0.6023, allocations: 215 kB / 1.538 GB, free: 9.289 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.6024, allocations: 23.94 kB / 1.538 GB, free: 9.266 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007217/0.6032, allocations: 67.92 kB / 1.538 GB, free: 9.199 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.6033, allocations: 80.84 kB / 1.538 GB, free: 9.121 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-05/0.6034, allocations: 43.97 kB / 1.538 GB, free: 9.078 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007494/0.6042, allocations: 495 kB / 1.539 GB, free: 8.598 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6042, allocations: 0 / 1.539 GB, free: 8.598 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001012/0.6052, allocations: 339.2 kB / 1.539 GB, free: 8.266 MB / 1.232 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.004607/0.6098, allocations: 2.06 MB / 1.541 GB, free: 6.359 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001949/0.6117, allocations: 0.8273 MB / 1.542 GB, free: 5.52 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.6118, allocations: 192 / 1.542 GB, free: 5.52 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.6128, allocations: 0.5197 MB / 1.543 GB, free: 4.988 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.6142, allocations: 316.7 kB / 1.543 GB, free: 4.703 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.6265, allocations: 6.606 MB / 1.549 GB, free: 13.94 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/0.6273, allocations: 1.044 MB / 1.55 GB, free: 12.86 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009206/0.6282, allocations: 283.1 kB / 1.551 GB, free: 12.58 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006702/0.6289, allocations: 407.3 kB / 1.551 GB, free: 12.19 MB / 1.248 GB Notification: Performance of SimCode: time 1.142e-06/0.6289, allocations: 0 / 1.551 GB, free: 12.19 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07183/0.7007, allocations: 23.73 MB / 1.574 GB, free: 4.66 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.49, allocations: 6.016 kB / 1.574 GB, free: 4.656 MB / 1.264 GB " [Timeout remaining time 284] (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: 22.768284416990355]