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.005648/0.005648, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001369/0.001369, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.307/1.307, 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 10.1.1-maint.10.0.x/package.mo): time 2.349/2.349, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 1.018 GB, free: 9.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7262/0.7275, allocations: 151.6 MB / 1.166 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006065/0.7336, allocations: 4.99 MB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.147/0.8806, allocations: 150.8 MB / 1.318 GB, free: 7.418 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008348/0.8815, allocations: 19.88 kB / 1.318 GB, free: 7.398 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007462/0.8823, allocations: 190.2 kB / 1.318 GB, free: 7.211 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.8844, allocations: 0.5819 MB / 1.319 GB, free: 6.629 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.8863, allocations: 0.8457 MB / 1.32 GB, free: 5.789 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.8878, allocations: 1.464 MB / 1.321 GB, free: 4.316 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008089/0.8886, allocations: 0.5842 MB / 1.322 GB, free: 3.707 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006652/0.8893, allocations: 0.5216 MB / 1.322 GB, free: 3.184 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.8899, allocations: 0.529 MB / 1.323 GB, free: 2.652 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.89, allocations: 120 kB / 1.323 GB, free: 2.535 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008729/0.8909, allocations: 491.6 kB / 1.323 GB, free: 2.055 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.8912, allocations: 307 kB / 1.324 GB, free: 1.754 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005057/0.8917, allocations: 0.5868 MB / 1.324 GB, free: 1.164 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.8935, allocations: 1.691 MB / 1.326 GB, free: 15.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8935, allocations: 0 / 1.326 GB, free: 15.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.604e-06/0.8935, allocations: 0 / 1.326 GB, free: 15.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.8935, allocations: 0 / 1.326 GB, free: 15.47 MB / 1.061 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.002554/0.8961, allocations: 1.538 MB / 1.327 GB, free: 13.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.8961, allocations: 8.922 kB / 1.328 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.8963, allocations: 139.7 kB / 1.328 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008725/0.8972, allocations: 196 kB / 1.328 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.8984, allocations: 0.7902 MB / 1.329 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.8984, allocations: 69.94 kB / 1.329 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.8986, allocations: 84 kB / 1.329 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.9001, allocations: 0.9652 MB / 1.33 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.9001, allocations: 4 kB / 1.33 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.25e-05/0.9002, allocations: 36 kB / 1.33 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.9002, allocations: 20 kB / 1.33 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.902, allocations: 1.155 MB / 1.331 GB, free: 10.33 MB / 1.061 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.004019/0.9061, allocations: 2.87 MB / 1.334 GB, free: 7.348 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.9076, allocations: 0.851 MB / 1.335 GB, free: 6.496 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/0.9081, allocations: 330.6 kB / 1.335 GB, free: 6.172 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.147e-05/0.9082, allocations: 36.67 kB / 1.335 GB, free: 6.137 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008689/0.9091, allocations: 0.5293 MB / 1.335 GB, free: 5.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=88): time 2.555e-06/0.9091, allocations: 0 / 1.335 GB, free: 5.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=88): time 0.003213/0.9123, allocations: 1.31 MB / 1.337 GB, free: 4.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.9124, allocations: 196.9 kB / 1.337 GB, free: 4.016 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007332/0.9132, allocations: 0.649 MB / 1.337 GB, free: 3.355 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/0.9133, allocations: 45.7 kB / 1.338 GB, free: 3.305 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.9136, allocations: 413.1 kB / 1.338 GB, free: 2.895 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.9138, allocations: 297.5 kB / 1.338 GB, free: 2.602 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.914, allocations: 166.5 kB / 1.338 GB, free: 2.434 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9142, allocations: 390.8 kB / 1.339 GB, free: 2.043 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.9147, allocations: 269.8 kB / 1.339 GB, free: 1.777 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/0.9153, allocations: 386.5 kB / 1.339 GB, free: 1.375 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.9165, allocations: 0.6321 MB / 1.34 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.9165, allocations: 0 / 1.34 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001952/0.9185, allocations: 0.8804 MB / 1.341 GB, free: 15.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.9185, allocations: 4 kB / 1.341 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.9185, allocations: 0 / 1.341 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/0.9191, allocations: 80.84 kB / 1.341 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/0.9198, allocations: 175.7 kB / 1.341 GB, free: 15.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.9217, allocations: 1.63 MB / 1.343 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/0.9224, allocations: 111.5 kB / 1.343 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/0.9225, allocations: 31.98 kB / 1.343 GB, free: 13.66 MB / 1.076 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.0003742/0.9229, allocations: 269.6 kB / 1.343 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.9231, allocations: 91.39 kB / 1.343 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/0.9256, allocations: 1.168 MB / 1.344 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.9257, allocations: 8 kB / 1.344 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.9257, allocations: 3.938 kB / 1.344 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.9257, allocations: 3.984 kB / 1.344 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.9268, allocations: 0.9504 MB / 1.345 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.9268, allocations: 4 kB / 1.345 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.9275, allocations: 151.8 kB / 1.345 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004273/0.9279, allocations: 76.73 kB / 1.345 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/0.928, allocations: 27.97 kB / 1.345 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.9298, allocations: 1.659 MB / 1.347 GB, free: 9.043 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9298, allocations: 0 / 1.347 GB, free: 9.043 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.9318, allocations: 0.9985 MB / 1.348 GB, free: 8.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/0.9322, allocations: 292.1 kB / 1.348 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.9324, allocations: 23.94 kB / 1.348 GB, free: 7.691 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006754/0.933, allocations: 67.92 kB / 1.348 GB, free: 7.625 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.9332, allocations: 80.89 kB / 1.349 GB, free: 7.547 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/0.9333, allocations: 39.97 kB / 1.349 GB, free: 7.508 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005744/0.9339, allocations: 483 kB / 1.349 GB, free: 7.039 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9339, allocations: 0 / 1.349 GB, free: 7.039 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00082/0.9347, allocations: 331.2 kB / 1.349 GB, free: 6.715 MB / 1.076 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.00353/0.9383, allocations: 2.072 MB / 1.351 GB, free: 4.785 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001721/0.94, allocations: 0.8548 MB / 1.352 GB, free: 3.918 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.94, allocations: 4 kB / 1.352 GB, free: 3.914 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009474/0.941, allocations: 0.5392 MB / 1.353 GB, free: 3.363 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.9422, allocations: 311.2 kB / 1.353 GB, free: 3.082 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.9527, allocations: 6.527 MB / 1.359 GB, free: 12.4 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.9533, allocations: 1.044 MB / 1.36 GB, free: 11.32 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008405/0.9542, allocations: 275 kB / 1.361 GB, free: 11.05 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/0.9548, allocations: 411.2 kB / 1.361 GB, free: 10.65 MB / 1.092 GB Notification: Performance of SimCode: time 1.072e-06/0.9548, allocations: 4 kB / 1.361 GB, free: 10.64 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04972/1.005, allocations: 22.73 MB / 1.383 GB, free: 4.176 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.81, allocations: 1.875 kB / 1.383 GB, free: 4.176 MB / 1.107 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