Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 193.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.369/2.369, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4554, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005705/0.4612, allocations: 4.981 MB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1346/0.5958, allocations: 150.8 MB / 1.17 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006584/0.5965, allocations: 19.88 kB / 1.17 GB, free: 6.051 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.597, allocations: 194.2 kB / 1.17 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.5987, allocations: 0.5788 MB / 1.17 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.6003, allocations: 0.8463 MB / 1.171 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.6014, allocations: 1.452 MB / 1.173 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007053/0.6022, allocations: 0.5766 MB / 1.173 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004606/0.6026, allocations: 0.5099 MB / 1.174 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005144/0.6031, allocations: 0.5329 MB / 1.174 GB, free: 1.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.6033, allocations: 120 kB / 1.174 GB, free: 1.227 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006747/0.604, allocations: 467.6 kB / 1.175 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.6042, allocations: 303 kB / 1.175 GB, free: 484 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004445/0.6047, allocations: 0.5986 MB / 1.176 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.606, allocations: 1.643 MB / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6061, allocations: 4 kB / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6061, allocations: 0 / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.6061, allocations: 0 / 1.177 GB, free: 14.22 MB / 0.9356 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.002248/0.6083, allocations: 1.479 MB / 1.179 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.6084, allocations: 12.03 kB / 1.179 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.6085, allocations: 135.7 kB / 1.179 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.6094, allocations: 199.3 kB / 1.179 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008894/0.6103, allocations: 0.7544 MB / 1.18 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/0.6103, allocations: 66 kB / 1.18 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.712e-05/0.6104, allocations: 84 kB / 1.18 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.6118, allocations: 0.9691 MB / 1.181 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.6119, allocations: 4 kB / 1.181 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.6119, allocations: 40 kB / 1.181 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.612, allocations: 24 kB / 1.181 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.6136, allocations: 1.159 MB / 1.182 GB, free: 9.156 MB / 0.9356 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.003656/0.6173, allocations: 2.884 MB / 1.185 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.6187, allocations: 0.8404 MB / 1.186 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.6193, allocations: 326.7 kB / 1.186 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.31e-05/0.6193, allocations: 32.67 kB / 1.186 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008452/0.6202, allocations: 0.5354 MB / 1.186 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 1.833e-06/0.6202, allocations: 3.938 kB / 1.186 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.0031/0.6233, allocations: 1.286 MB / 1.188 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/0.6234, allocations: 196.9 kB / 1.188 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/0.6241, allocations: 0.6528 MB / 1.189 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.6242, allocations: 41.7 kB / 1.189 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.6244, allocations: 412.3 kB / 1.189 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.6246, allocations: 280 kB / 1.189 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.6248, allocations: 166.5 kB / 1.189 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.625, allocations: 390.8 kB / 1.19 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/0.6255, allocations: 273.8 kB / 1.19 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.6261, allocations: 390.5 kB / 1.19 GB, free: 220 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.6272, allocations: 0.6359 MB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6272, allocations: 4 kB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001844/0.6291, allocations: 0.8721 MB / 1.192 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6291, allocations: 9.875 kB / 1.192 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.6291, allocations: 0 / 1.192 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/0.6297, allocations: 84.83 kB / 1.192 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.6303, allocations: 171.8 kB / 1.192 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.6322, allocations: 1.636 MB / 1.194 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.6328, allocations: 107.2 kB / 1.194 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.6329, allocations: 27.98 kB / 1.194 GB, free: 12.5 MB / 0.9512 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.0003192/0.6332, allocations: 273.8 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.6334, allocations: 86.97 kB / 1.194 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.6358, allocations: 1.16 MB / 1.195 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6358, allocations: 12 kB / 1.195 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.6358, allocations: 0 / 1.195 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.6358, allocations: 7.984 kB / 1.195 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009002/0.6368, allocations: 0.9424 MB / 1.196 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6368, allocations: 0 / 1.196 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.6374, allocations: 155.8 kB / 1.196 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004095/0.6378, allocations: 72.73 kB / 1.197 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/0.6378, allocations: 31.97 kB / 1.197 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.6395, allocations: 1.666 MB / 1.198 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6395, allocations: 0 / 1.198 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.6414, allocations: 0.9942 MB / 1.199 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.6418, allocations: 283.7 kB / 1.199 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.6419, allocations: 23.94 kB / 1.199 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/0.6425, allocations: 71.92 kB / 1.2 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.6427, allocations: 72.89 kB / 1.2 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/0.6427, allocations: 39.97 kB / 1.2 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005022/0.6433, allocations: 483 kB / 1.2 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6433, allocations: 0 / 1.2 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006419/0.6439, allocations: 335.2 kB / 1.2 GB, free: 5.566 MB / 0.9512 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.003214/0.6471, allocations: 2.053 MB / 1.202 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.6494, allocations: 1.085 MB / 1.203 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6494, allocations: 0 / 1.203 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009059/0.6503, allocations: 0.551 MB / 1.204 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.6514, allocations: 298.9 kB / 1.204 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009202/0.6606, allocations: 6.765 MB / 1.211 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.6611, allocations: 1.044 MB / 1.212 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007261/0.6618, allocations: 275.1 kB / 1.212 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.6624, allocations: 403.3 kB / 1.213 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.6624, allocations: 0 / 1.213 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0443/0.7067, allocations: 22.49 MB / 1.235 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.75, allocations: 12.09 kB / 1.235 GB, free: 2.93 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,incAng.incAng Variables in the result:time,decAng.calTimAux,decAng.decAng,decAng.modTimAux,incAng.incAng,solHouAng.solHouAng