Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_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.004759/0.004759, allocations: 105.5 kB / 15.74 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.084/2.084, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7148/0.7161, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005103/0.7213, allocations: 4.47 MB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1711/0.8924, allocations: 150.8 MB / 1.239 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.8936, allocations: 15.47 kB / 1.239 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008251/0.8944, allocations: 187.7 kB / 1.239 GB, free: 396 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.8969, allocations: 0.5412 MB / 1.24 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.8996, allocations: 0.8327 MB / 1.241 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0019/0.9015, allocations: 1.377 MB / 1.242 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.9025, allocations: 0.6283 MB / 1.243 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009491/0.9035, allocations: 0.495 MB / 1.243 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009427/0.9044, allocations: 0.5243 MB / 1.244 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.9046, allocations: 121 kB / 1.244 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009506/0.9056, allocations: 491.5 kB / 1.244 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.9059, allocations: 312.3 kB / 1.244 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004947/0.9064, allocations: 0.5715 MB / 1.245 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.9081, allocations: 1.676 MB / 1.247 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9082, allocations: 0 / 1.247 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9082, allocations: 0 / 1.247 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.9082, allocations: 0 / 1.247 GB, free: 10.83 MB / 0.9825 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.002443/0.9106, allocations: 1.501 MB / 1.248 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.9107, allocations: 8.031 kB / 1.248 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.9108, allocations: 151.7 kB / 1.248 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008763/0.9117, allocations: 192 kB / 1.248 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.9128, allocations: 0.7901 MB / 1.249 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.9129, allocations: 66 kB / 1.249 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.913, allocations: 88 kB / 1.249 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.9146, allocations: 0.969 MB / 1.25 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.9146, allocations: 7.938 kB / 1.25 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.386e-05/0.9147, allocations: 40 kB / 1.25 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.9147, allocations: 20 kB / 1.25 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.9165, allocations: 1.155 MB / 1.251 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.9203, allocations: 2.645 MB / 1.254 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.9217, allocations: 0.8477 MB / 1.255 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005421/0.9223, allocations: 322.7 kB / 1.255 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.282e-05/0.9224, allocations: 36.67 kB / 1.255 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000867/0.9233, allocations: 0.5331 MB / 1.256 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.084e-06/0.9233, allocations: 0 / 1.256 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003072/0.9263, allocations: 1.29 MB / 1.257 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.9265, allocations: 196.9 kB / 1.257 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000715/0.9272, allocations: 0.6567 MB / 1.258 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/0.9272, allocations: 41.7 kB / 1.258 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.9275, allocations: 417.1 kB / 1.258 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.9278, allocations: 301.4 kB / 1.259 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.928, allocations: 162.6 kB / 1.259 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.9282, allocations: 390.7 kB / 1.259 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000512/0.9287, allocations: 265.9 kB / 1.259 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/0.9293, allocations: 390.5 kB / 1.26 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.9304, allocations: 0.6359 MB / 1.26 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9304, allocations: 0 / 1.26 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001859/0.9323, allocations: 0.8765 MB / 1.261 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.9323, allocations: 4 kB / 1.261 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.9323, allocations: 4 kB / 1.261 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/0.9329, allocations: 80.83 kB / 1.261 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.9336, allocations: 167.8 kB / 1.261 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.9356, allocations: 1.627 MB / 1.263 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/0.9362, allocations: 103.4 kB / 1.263 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.9363, allocations: 36.03 kB / 1.263 GB, free: 9.34 MB / 0.9981 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.0003467/0.9367, allocations: 266.5 kB / 1.263 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.9368, allocations: 95.39 kB / 1.263 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.9393, allocations: 1.171 MB / 1.265 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.9393, allocations: 8 kB / 1.265 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.9393, allocations: 0 / 1.265 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.9393, allocations: 11.95 kB / 1.265 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009734/0.9403, allocations: 0.9388 MB / 1.266 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9403, allocations: 0 / 1.266 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.9409, allocations: 155.8 kB / 1.266 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004154/0.9413, allocations: 80.66 kB / 1.266 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.9414, allocations: 23.98 kB / 1.266 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.9431, allocations: 1.658 MB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9431, allocations: 0 / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.9451, allocations: 1.006 MB / 1.268 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.9454, allocations: 288.2 kB / 1.269 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.9456, allocations: 19.94 kB / 1.269 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006386/0.9462, allocations: 70.42 kB / 1.269 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.9464, allocations: 76.89 kB / 1.269 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/0.9464, allocations: 39.97 kB / 1.269 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005329/0.947, allocations: 479 kB / 1.269 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.253e-06/0.947, allocations: 7.938 kB / 1.269 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000737/0.9477, allocations: 331.1 kB / 1.27 GB, free: 2.395 MB / 0.9981 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.003353/0.9511, allocations: 2.061 MB / 1.272 GB, free: 500 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.9527, allocations: 0.8586 MB / 1.273 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.9527, allocations: 4 kB / 1.273 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009101/0.9536, allocations: 0.5433 MB / 1.273 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.9547, allocations: 290.2 kB / 1.273 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.9651, allocations: 6.64 MB / 1.28 GB, free: 8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.9657, allocations: 1.047 MB / 1.281 GB, free: 6.918 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007344/0.9665, allocations: 267 kB / 1.281 GB, free: 6.652 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/0.967, allocations: 411.2 kB / 1.281 GB, free: 6.25 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/0.967, allocations: 0 / 1.281 GB, free: 6.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04752/1.015, allocations: 22.33 MB / 1.303 GB, free: 276 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.15, allocations: 6.188 kB / 1.303 GB, free: 272 kB / 1.029 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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