Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001283/0.001283, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001499/0.001499, allocations: 218.6 kB / 22.26 MB, free: 5.121 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.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.688/2.688, allocations: 476.8 MB / 0.7707 GB, free: 4.227 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_11_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.002047/0.002047, allocations: 70.34 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3059, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007222/0.3132, allocations: 5.062 MB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1771/0.4903, allocations: 154.3 MB / 1.439 GB, free: 11.71 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000954/0.4913, allocations: 23.81 kB / 1.439 GB, free: 11.69 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006655/0.4919, allocations: 202.1 kB / 1.439 GB, free: 11.49 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.494, allocations: 0.5997 MB / 1.44 GB, free: 10.89 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.4964, allocations: 0.8883 MB / 1.441 GB, free: 10.01 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002223/0.4986, allocations: 1.487 MB / 1.442 GB, free: 8.516 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008166/0.4994, allocations: 425.9 kB / 1.443 GB, free: 8.074 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009114/0.5003, allocations: 0.5295 MB / 1.443 GB, free: 7.543 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007757/0.5011, allocations: 0.5499 MB / 1.444 GB, free: 6.992 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.5013, allocations: 128 kB / 1.444 GB, free: 6.867 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.5026, allocations: 0.5152 MB / 1.444 GB, free: 6.352 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.503, allocations: 326.9 kB / 1.445 GB, free: 6.031 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006046/0.5036, allocations: 0.583 MB / 1.445 GB, free: 5.445 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.506, allocations: 1.739 MB / 1.447 GB, free: 3.699 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.506, allocations: 0 / 1.447 GB, free: 3.699 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.873e-06/0.506, allocations: 0 / 1.447 GB, free: 3.699 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.682e-05/0.506, allocations: 4 kB / 1.447 GB, free: 3.695 MB / 1.139 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.003021/0.509, allocations: 1.48 MB / 1.448 GB, free: 2.18 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.5091, allocations: 8.031 kB / 1.448 GB, free: 2.172 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.5092, allocations: 139.7 kB / 1.448 GB, free: 2.027 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.5111, allocations: 264 kB / 1.449 GB, free: 1.77 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.5125, allocations: 0.7374 MB / 1.449 GB, free: 1.008 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.529e-05/0.5125, allocations: 69.98 kB / 1.449 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.5127, allocations: 80 kB / 1.45 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.5144, allocations: 0.9652 MB / 1.45 GB, free: 15.86 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.5144, allocations: 0 / 1.45 GB, free: 15.86 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.442e-05/0.5145, allocations: 39.98 kB / 1.45 GB, free: 15.82 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.5145, allocations: 31.94 kB / 1.451 GB, free: 15.79 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.5164, allocations: 1.155 MB / 1.452 GB, free: 14.63 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/0.5213, allocations: 2.819 MB / 1.454 GB, free: 11.7 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.5229, allocations: 0.7987 MB / 1.455 GB, free: 10.89 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.5234, allocations: 298.6 kB / 1.455 GB, free: 10.59 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-05/0.5235, allocations: 36.67 kB / 1.456 GB, free: 10.56 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009709/0.5245, allocations: 0.5279 MB / 1.456 GB, free: 10.01 MB / 1.154 GB Notification: Performance of pre-optimization done (n=88): time 2.825e-06/0.5245, allocations: 0 / 1.456 GB, free: 10.01 MB / 1.154 GB Notification: Performance of matching and sorting (n=88): time 0.00359/0.5281, allocations: 1.231 MB / 1.457 GB, free: 8.777 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.5282, allocations: 192.9 kB / 1.457 GB, free: 8.543 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009952/0.5292, allocations: 0.6802 MB / 1.458 GB, free: 7.852 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.534e-05/0.5293, allocations: 49.69 kB / 1.458 GB, free: 7.797 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.5297, allocations: 421.1 kB / 1.459 GB, free: 7.379 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.53, allocations: 293.5 kB / 1.459 GB, free: 7.09 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.5302, allocations: 158.6 kB / 1.459 GB, free: 6.93 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.5304, allocations: 394.7 kB / 1.459 GB, free: 6.535 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/0.531, allocations: 265.9 kB / 1.46 GB, free: 6.277 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006632/0.5316, allocations: 390.5 kB / 1.46 GB, free: 5.867 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.5328, allocations: 0.6398 MB / 1.461 GB, free: 5.219 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5328, allocations: 0 / 1.461 GB, free: 5.219 MB / 1.154 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002223/0.5351, allocations: 0.8726 MB / 1.461 GB, free: 4.332 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.5351, allocations: 8 kB / 1.461 GB, free: 4.324 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5351, allocations: 0 / 1.461 GB, free: 4.324 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.5357, allocations: 88.77 kB / 1.462 GB, free: 4.234 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/0.5364, allocations: 163.8 kB / 1.462 GB, free: 4.074 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.5388, allocations: 1.527 MB / 1.463 GB, free: 2.43 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009153/0.5397, allocations: 99.41 kB / 1.463 GB, free: 2.332 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.5398, allocations: 36.03 kB / 1.463 GB, free: 2.297 MB / 1.154 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.0006089/0.5404, allocations: 277.4 kB / 1.464 GB, free: 2.016 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.5406, allocations: 95.39 kB / 1.464 GB, free: 1.922 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.5434, allocations: 1.176 MB / 1.465 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.5434, allocations: 8 kB / 1.465 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5434, allocations: 0 / 1.465 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.5434, allocations: 3.984 kB / 1.465 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.5449, allocations: 0.9338 MB / 1.466 GB, free: 15.74 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.5449, allocations: 0 / 1.466 GB, free: 15.74 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000685/0.5456, allocations: 151.8 kB / 1.466 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/0.5461, allocations: 76.72 kB / 1.466 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.029e-05/0.5461, allocations: 35.97 kB / 1.466 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.5481, allocations: 1.555 MB / 1.467 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5481, allocations: 0 / 1.467 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.5504, allocations: 1.006 MB / 1.468 GB, free: 12.78 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/0.5508, allocations: 211 kB / 1.469 GB, free: 12.57 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.551, allocations: 27.88 kB / 1.469 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006252/0.5516, allocations: 67.92 kB / 1.469 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.5518, allocations: 84.84 kB / 1.469 GB, free: 12.39 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/0.5518, allocations: 35.97 kB / 1.469 GB, free: 12.36 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006582/0.5525, allocations: 499 kB / 1.469 GB, free: 11.88 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5525, allocations: 0 / 1.469 GB, free: 11.88 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008758/0.5534, allocations: 343.2 kB / 1.47 GB, free: 11.54 MB / 1.17 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.004215/0.5576, allocations: 2.058 MB / 1.472 GB, free: 9.637 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001772/0.5594, allocations: 0.8274 MB / 1.473 GB, free: 8.797 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5594, allocations: 0 / 1.473 GB, free: 8.797 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009638/0.5603, allocations: 0.5158 MB / 1.473 GB, free: 8.27 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.5616, allocations: 299.9 kB / 1.473 GB, free: 8 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.5727, allocations: 6.608 MB / 1.48 GB, free: 1.234 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007883/0.5735, allocations: 1.051 MB / 1.481 GB, free: 156 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009399/0.5744, allocations: 275.2 kB / 1.481 GB, free: 15.88 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/0.5751, allocations: 419.2 kB / 1.481 GB, free: 15.47 MB / 1.186 GB Notification: Performance of SimCode: time 1.001e-06/0.5751, allocations: 0 / 1.481 GB, free: 15.47 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06521/0.6403, allocations: 23.73 MB / 1.505 GB, free: 7.996 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/14.96, allocations: 4.062 kB / 1.505 GB, free: 7.992 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.60408871100026]