Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001998/0.001998, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002272/0.002272, allocations: 213.7 kB / 22.25 MB, free: 4.855 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.777 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.143/3.143, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.IncidenceAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_12_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.002245/0.002245, allocations: 66.47 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3038, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007427/0.3112, allocations: 4.528 MB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.167/0.4781, allocations: 132.9 MB / 1.459 GB, free: 8.43 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.4792, allocations: 23.81 kB / 1.459 GB, free: 8.406 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008165/0.48, allocations: 206.1 kB / 1.459 GB, free: 8.203 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.4823, allocations: 0.593 MB / 1.46 GB, free: 7.613 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.4845, allocations: 0.8667 MB / 1.461 GB, free: 6.75 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00197/0.4864, allocations: 1.472 MB / 1.462 GB, free: 5.273 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008477/0.4873, allocations: 410.8 kB / 1.463 GB, free: 4.848 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008647/0.4881, allocations: 0.5334 MB / 1.463 GB, free: 4.312 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007947/0.4889, allocations: 0.4899 MB / 1.464 GB, free: 3.82 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.4892, allocations: 120 kB / 1.464 GB, free: 3.703 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.4903, allocations: 0.4918 MB / 1.464 GB, free: 3.211 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.4906, allocations: 322.9 kB / 1.465 GB, free: 2.895 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007123/0.4913, allocations: 485.7 kB / 1.465 GB, free: 2.418 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002556/0.4939, allocations: 1.755 MB / 1.467 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4939, allocations: 0 / 1.467 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4939, allocations: 0 / 1.467 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.493e-05/0.494, allocations: 0 / 1.467 GB, free: 0.6562 MB / 1.154 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.003281/0.4972, allocations: 1.476 MB / 1.468 GB, free: 15.14 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4973, allocations: 8.031 kB / 1.468 GB, free: 15.14 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002205/0.4975, allocations: 139.7 kB / 1.468 GB, free: 14.99 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.4995, allocations: 268 kB / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.5009, allocations: 0.7335 MB / 1.469 GB, free: 13.97 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/0.501, allocations: 69.98 kB / 1.469 GB, free: 13.9 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.5012, allocations: 88 kB / 1.469 GB, free: 13.81 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.5032, allocations: 1.216 MB / 1.471 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.5032, allocations: 0 / 1.471 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-05/0.5033, allocations: 44 kB / 1.471 GB, free: 12.45 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.5033, allocations: 24 kB / 1.471 GB, free: 12.43 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.5054, allocations: 1.104 MB / 1.472 GB, free: 11.32 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/0.51, allocations: 2.376 MB / 1.474 GB, free: 8.879 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.5117, allocations: 0.7959 MB / 1.475 GB, free: 8.074 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000608/0.5123, allocations: 290.7 kB / 1.475 GB, free: 7.785 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.114e-05/0.5124, allocations: 28.62 kB / 1.475 GB, free: 7.758 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.5135, allocations: 0.6438 MB / 1.476 GB, free: 7.074 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 3.106e-06/0.5135, allocations: 0 / 1.476 GB, free: 7.074 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003588/0.5171, allocations: 1.219 MB / 1.477 GB, free: 5.844 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.5172, allocations: 196.9 kB / 1.477 GB, free: 5.609 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009877/0.5182, allocations: 0.6841 MB / 1.478 GB, free: 4.918 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.5183, allocations: 41.7 kB / 1.478 GB, free: 4.871 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.5187, allocations: 421.1 kB / 1.478 GB, free: 4.453 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/0.519, allocations: 297.5 kB / 1.479 GB, free: 4.16 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.5192, allocations: 170.5 kB / 1.479 GB, free: 3.988 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002112/0.5195, allocations: 382.8 kB / 1.479 GB, free: 3.605 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005971/0.52, allocations: 273.8 kB / 1.479 GB, free: 3.336 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008127/0.5209, allocations: 0.5107 MB / 1.48 GB, free: 2.77 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.5222, allocations: 0.6321 MB / 1.481 GB, free: 2.125 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.5222, allocations: 4 kB / 1.481 GB, free: 2.121 MB / 1.17 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002218/0.5244, allocations: 0.8803 MB / 1.481 GB, free: 1.234 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5244, allocations: 4 kB / 1.481 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5244, allocations: 0 / 1.481 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.525, allocations: 80.88 kB / 1.481 GB, free: 1.148 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.5257, allocations: 171.8 kB / 1.482 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.528, allocations: 1.525 MB / 1.483 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007843/0.5288, allocations: 99.44 kB / 1.483 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.364e-05/0.5289, allocations: 35.97 kB / 1.483 GB, free: 15.2 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: 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.0004819/0.5293, allocations: 269.5 kB / 1.484 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.5296, allocations: 99.42 kB / 1.484 GB, free: 14.83 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.5324, allocations: 1.168 MB / 1.485 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.5324, allocations: 12 kB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5324, allocations: 0 / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.5324, allocations: 7.922 kB / 1.485 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.5336, allocations: 0.7819 MB / 1.486 GB, free: 12.81 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.5336, allocations: 4 kB / 1.486 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006635/0.5343, allocations: 163.7 kB / 1.486 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004823/0.5347, allocations: 72.73 kB / 1.486 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.327e-05/0.5348, allocations: 31.97 kB / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.5368, allocations: 1.531 MB / 1.487 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5368, allocations: 0 / 1.487 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.5392, allocations: 1.006 MB / 1.488 GB, free: 9.859 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005423/0.5397, allocations: 215.1 kB / 1.488 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.5399, allocations: 27.92 kB / 1.488 GB, free: 9.621 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.5406, allocations: 71.92 kB / 1.489 GB, free: 9.551 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.5408, allocations: 76.84 kB / 1.489 GB, free: 9.473 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.933e-05/0.5409, allocations: 39.97 kB / 1.489 GB, free: 9.434 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000751/0.5416, allocations: 499 kB / 1.489 GB, free: 8.949 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5416, allocations: 0 / 1.489 GB, free: 8.949 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009686/0.5426, allocations: 343.1 kB / 1.489 GB, free: 8.613 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.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.004694/0.5473, allocations: 2.102 MB / 1.492 GB, free: 6.688 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002153/0.5494, allocations: 0.8389 MB / 1.492 GB, free: 5.836 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.5494, allocations: 0 / 1.492 GB, free: 5.836 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.5507, allocations: 0.5121 MB / 1.493 GB, free: 5.312 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.5522, allocations: 311.1 kB / 1.493 GB, free: 5.035 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.5654, allocations: 6.6 MB / 1.5 GB, free: 14.29 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.5659, allocations: 468.3 kB / 1.5 GB, free: 13.8 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001038/0.567, allocations: 283.1 kB / 1.5 GB, free: 13.52 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007067/0.5677, allocations: 415.3 kB / 1.501 GB, free: 13.11 MB / 1.201 GB Notification: Performance of SimCode: time 1.282e-06/0.5677, allocations: 0 / 1.501 GB, free: 13.11 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06839/0.6361, allocations: 24.72 MB / 1.525 GB, free: 4.719 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.56, allocations: 8 kB / 1.525 GB, free: 4.711 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.34455160284415]