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.001253/0.001253, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001453/0.001453, allocations: 214.2 kB / 23.04 MB, free: 5.07 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.391/1.391, allocations: 230.6 MB / 256.8 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.099/3.099, allocations: 0.5003 GB / 0.8061 GB, free: 26.85 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.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.002198/0.002198, allocations: 61.94 kB / 1.171 GB, free: 20.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3128, allocations: 179 MB / 1.345 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007241/0.3201, allocations: 5.07 MB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1819/0.502, allocations: 154.3 MB / 1.501 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.503, allocations: 23.81 kB / 1.501 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000914/0.5039, allocations: 214.1 kB / 1.501 GB, free: 404 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.5062, allocations: 0.6012 MB / 1.502 GB, free: 15.79 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.5086, allocations: 0.8741 MB / 1.503 GB, free: 14.93 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00213/0.5107, allocations: 1.483 MB / 1.504 GB, free: 13.43 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009133/0.5116, allocations: 422 kB / 1.504 GB, free: 13 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000928/0.5125, allocations: 0.5372 MB / 1.505 GB, free: 12.46 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009178/0.5135, allocations: 0.5484 MB / 1.506 GB, free: 11.91 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.5137, allocations: 124 kB / 1.506 GB, free: 11.79 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.5149, allocations: 0.5152 MB / 1.506 GB, free: 11.27 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003812/0.5153, allocations: 315 kB / 1.506 GB, free: 10.96 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007661/0.516, allocations: 0.5946 MB / 1.507 GB, free: 10.37 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.5187, allocations: 1.739 MB / 1.509 GB, free: 8.621 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5187, allocations: 0 / 1.509 GB, free: 8.621 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5187, allocations: 7.938 kB / 1.509 GB, free: 8.613 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.711e-05/0.5187, allocations: 0 / 1.509 GB, free: 8.613 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.003222/0.5219, allocations: 1.476 MB / 1.51 GB, free: 7.098 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.522, allocations: 8.031 kB / 1.51 GB, free: 7.09 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.249e-05/0.522, allocations: 26.19 kB / 1.51 GB, free: 7.066 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001897/0.5222, allocations: 143.7 kB / 1.51 GB, free: 6.918 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.5241, allocations: 267.9 kB / 1.511 GB, free: 6.656 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.5256, allocations: 0.7334 MB / 1.511 GB, free: 5.898 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.249e-05/0.5257, allocations: 66 kB / 1.511 GB, free: 5.832 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.5258, allocations: 88 kB / 1.511 GB, free: 5.746 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.5277, allocations: 0.9652 MB / 1.512 GB, free: 4.742 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.5277, allocations: 3.938 kB / 1.512 GB, free: 4.738 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-05/0.5278, allocations: 40 kB / 1.512 GB, free: 4.699 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.5278, allocations: 20 kB / 1.512 GB, free: 4.68 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.5299, allocations: 1.159 MB / 1.514 GB, free: 3.52 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00485/0.5347, allocations: 2.869 MB / 1.516 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.5363, allocations: 0.797 MB / 1.517 GB, free: 15.72 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005867/0.5369, allocations: 294.7 kB / 1.517 GB, free: 15.43 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.537, allocations: 32.67 kB / 1.518 GB, free: 15.4 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009944/0.538, allocations: 0.5409 MB / 1.518 GB, free: 14.84 MB / 1.217 GB Notification: Performance of pre-optimization done (n=88): time 2.845e-06/0.538, allocations: 0 / 1.518 GB, free: 14.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=88): time 0.003504/0.5415, allocations: 1.223 MB / 1.519 GB, free: 13.61 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.5417, allocations: 200.8 kB / 1.519 GB, free: 13.37 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.5427, allocations: 0.6763 MB / 1.52 GB, free: 12.68 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.559e-05/0.5428, allocations: 45.7 kB / 1.52 GB, free: 12.63 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.5432, allocations: 417.1 kB / 1.521 GB, free: 12.21 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.5435, allocations: 297.5 kB / 1.521 GB, free: 11.92 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.5438, allocations: 170.5 kB / 1.521 GB, free: 11.75 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.544, allocations: 386.8 kB / 1.521 GB, free: 11.36 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.5446, allocations: 273.8 kB / 1.522 GB, free: 11.09 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007377/0.5453, allocations: 386.5 kB / 1.522 GB, free: 10.69 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.5465, allocations: 0.632 MB / 1.523 GB, free: 10.05 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.5465, allocations: 0 / 1.523 GB, free: 10.05 MB / 1.217 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002179/0.5487, allocations: 0.8765 MB / 1.523 GB, free: 9.16 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5487, allocations: 8 kB / 1.523 GB, free: 9.152 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5488, allocations: 0 / 1.523 GB, free: 9.152 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006193/0.5494, allocations: 84.8 kB / 1.524 GB, free: 9.066 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/0.5501, allocations: 167.8 kB / 1.524 GB, free: 8.902 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.5524, allocations: 1.537 MB / 1.525 GB, free: 7.246 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000875/0.5533, allocations: 104.5 kB / 1.525 GB, free: 7.145 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.303e-05/0.5533, allocations: 31.98 kB / 1.525 GB, free: 7.113 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.0005352/0.5539, allocations: 273.5 kB / 1.526 GB, free: 6.836 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.5541, allocations: 91.44 kB / 1.526 GB, free: 6.746 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/0.557, allocations: 1.172 MB / 1.527 GB, free: 5.562 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.557, allocations: 8 kB / 1.527 GB, free: 5.555 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.557, allocations: 0 / 1.527 GB, free: 5.555 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.557, allocations: 3.984 kB / 1.527 GB, free: 5.551 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.5583, allocations: 0.9222 MB / 1.528 GB, free: 4.586 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5584, allocations: 0 / 1.528 GB, free: 4.586 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/0.559, allocations: 163.7 kB / 1.528 GB, free: 4.426 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/0.5595, allocations: 80.72 kB / 1.528 GB, free: 4.344 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-05/0.5595, allocations: 23.98 kB / 1.528 GB, free: 4.32 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.5616, allocations: 1.559 MB / 1.53 GB, free: 2.641 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5616, allocations: 0 / 1.53 GB, free: 2.641 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.5639, allocations: 1.002 MB / 1.53 GB, free: 1.617 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005019/0.5644, allocations: 215 kB / 1.531 GB, free: 1.406 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.5645, allocations: 24 kB / 1.531 GB, free: 1.383 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/0.5653, allocations: 75.92 kB / 1.531 GB, free: 1.309 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.5654, allocations: 80.84 kB / 1.531 GB, free: 1.227 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.004e-05/0.5655, allocations: 35.98 kB / 1.531 GB, free: 1.191 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006981/0.5662, allocations: 0.4912 MB / 1.531 GB, free: 0.7031 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5662, allocations: 0 / 1.531 GB, free: 0.7031 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008883/0.5671, allocations: 335.2 kB / 1.532 GB, free: 384 kB / 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.004403/0.5715, allocations: 2.062 MB / 1.534 GB, free: 14.47 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.5734, allocations: 0.8274 MB / 1.535 GB, free: 13.63 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5734, allocations: 4 kB / 1.535 GB, free: 13.62 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.5745, allocations: 0.5196 MB / 1.535 GB, free: 13.1 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.5759, allocations: 306.3 kB / 1.535 GB, free: 12.82 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.5884, allocations: 6.6 MB / 1.542 GB, free: 6.059 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/0.5893, allocations: 1.044 MB / 1.543 GB, free: 4.984 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009208/0.5902, allocations: 279.1 kB / 1.543 GB, free: 4.707 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006736/0.5909, allocations: 423.2 kB / 1.543 GB, free: 4.297 MB / 1.232 GB Notification: Performance of SimCode: time 1.172e-06/0.5909, allocations: 0 / 1.543 GB, free: 4.297 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06175/0.6526, allocations: 23.74 MB / 1.567 GB, free: 12.77 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/15.59, allocations: 24.52 kB / 1.567 GB, free: 12.75 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.28163553297054]