Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_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.008186/0.008186, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.002072/0.002072, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.534/2.534, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 59.91 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2557, allocations: 151.6 MB / 1.166 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007781/0.2635, allocations: 6.952 MB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7086/0.9722, allocations: 151.3 MB / 1.321 GB, free: 8.75 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008843/0.9731, allocations: 22.06 kB / 1.321 GB, free: 8.742 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.9738, allocations: 260.4 kB / 1.321 GB, free: 8.59 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.9757, allocations: 0.7899 MB / 1.322 GB, free: 8.207 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.9777, allocations: 1.001 MB / 1.323 GB, free: 8.035 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00189/0.9796, allocations: 2.145 MB / 1.325 GB, free: 7.578 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.9808, allocations: 1.019 MB / 1.326 GB, free: 7.082 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.9819, allocations: 0.8364 MB / 1.327 GB, free: 6.656 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009667/0.9829, allocations: 0.9046 MB / 1.327 GB, free: 6.176 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.9831, allocations: 209.7 kB / 1.328 GB, free: 6.172 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009896/0.9841, allocations: 0.5642 MB / 1.328 GB, free: 6.055 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004036/0.9845, allocations: 486.6 kB / 1.329 GB, free: 5.734 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007753/0.9853, allocations: 0.9576 MB / 1.33 GB, free: 5.105 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002466/0.9878, allocations: 2.572 MB / 1.332 GB, free: 4.012 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.9878, allocations: 0 / 1.332 GB, free: 4.012 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9878, allocations: 0 / 1.332 GB, free: 4.012 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.478e-05/0.9878, allocations: 0 / 1.332 GB, free: 4.012 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003734/0.9916, allocations: 2.058 MB / 1.334 GB, free: 2.695 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.9916, allocations: 12.86 kB / 1.334 GB, free: 2.691 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002391/0.9919, allocations: 226.5 kB / 1.334 GB, free: 2.547 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009893/0.9929, allocations: 268.9 kB / 1.335 GB, free: 2.438 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.9943, allocations: 0.9885 MB / 1.336 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.706e-05/0.9944, allocations: 121.7 kB / 1.336 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.9947, allocations: 146.5 kB / 1.336 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.9971, allocations: 1.585 MB / 1.337 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.9972, allocations: 3.094 kB / 1.337 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.9973, allocations: 62.19 kB / 1.337 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.9973, allocations: 37.84 kB / 1.337 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/1, allocations: 1.638 MB / 1.339 GB, free: 0.5156 MB / 1.014 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.006649/1.007, allocations: 4.526 MB / 1.343 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/1.009, allocations: 1.185 MB / 1.345 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007989/1.01, allocations: 481.7 kB / 1.345 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-05/1.01, allocations: 52.62 kB / 1.345 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/1.011, allocations: 0.7803 MB / 1.346 GB, free: 12.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=128): time 2.605e-06/1.011, allocations: 0 / 1.346 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=128): time 0.004224/1.015, allocations: 1.842 MB / 1.348 GB, free: 12.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/1.015, allocations: 196.7 kB / 1.348 GB, free: 11.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/1.016, allocations: 0.8717 MB / 1.349 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.753e-05/1.016, allocations: 53.64 kB / 1.349 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/1.017, allocations: 0.6088 MB / 1.349 GB, free: 10.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/1.017, allocations: 404.8 kB / 1.35 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/1.018, allocations: 242 kB / 1.35 GB, free: 10.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.018, allocations: 346.6 kB / 1.35 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007847/1.018, allocations: 430 kB / 1.351 GB, free: 10.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009074/1.019, allocations: 0.5653 MB / 1.351 GB, free: 9.812 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/1.021, allocations: 0.9624 MB / 1.352 GB, free: 9.359 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/1.021, allocations: 5.344 kB / 1.352 GB, free: 9.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002671/1.024, allocations: 1.294 MB / 1.354 GB, free: 8.777 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.024, allocations: 4.906 kB / 1.354 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.024, allocations: 1.125 kB / 1.354 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005833/1.024, allocations: 83.78 kB / 1.354 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/1.025, allocations: 259.1 kB / 1.354 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/1.027, allocations: 1.646 MB / 1.355 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.028, allocations: 153.8 kB / 1.356 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/1.028, allocations: 55.33 kB / 1.356 GB, free: 6.938 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.000493/1.029, allocations: 343.2 kB / 1.356 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/1.029, allocations: 117.7 kB / 1.356 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/1.033, allocations: 1.71 MB / 1.358 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.033, allocations: 13.75 kB / 1.358 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.033, allocations: 4 kB / 1.358 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.033, allocations: 5.359 kB / 1.358 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/1.034, allocations: 1.419 MB / 1.359 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.034, allocations: 0 / 1.359 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008708/1.035, allocations: 216.4 kB / 1.359 GB, free: 4.562 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004352/1.035, allocations: 75.86 kB / 1.359 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.023e-05/1.036, allocations: 40.2 kB / 1.36 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/1.037, allocations: 1.664 MB / 1.361 GB, free: 2.883 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.037, allocations: 7.922 kB / 1.361 GB, free: 2.875 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/1.04, allocations: 1.405 MB / 1.363 GB, free: 2.156 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/1.04, allocations: 379.4 kB / 1.363 GB, free: 1.832 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/1.04, allocations: 41.84 kB / 1.363 GB, free: 1.801 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/1.041, allocations: 87.81 kB / 1.363 GB, free: 1.754 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/1.042, allocations: 109.9 kB / 1.363 GB, free: 1.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.603e-05/1.042, allocations: 53.95 kB / 1.363 GB, free: 1.676 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007465/1.042, allocations: 0.651 MB / 1.364 GB, free: 1.301 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.61e-07/1.042, allocations: 0 / 1.364 GB, free: 1.301 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001091/1.043, allocations: 486.7 kB / 1.364 GB, free: 1.164 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003929/1.047, allocations: 2.477 MB / 1.367 GB, free: 15.71 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002154/1.05, allocations: 1.25 MB / 1.368 GB, free: 15.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.05, allocations: 0 / 1.368 GB, free: 15.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/1.051, allocations: 0.7318 MB / 1.369 GB, free: 14.69 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/1.052, allocations: 350.9 kB / 1.369 GB, free: 14.5 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/1.065, allocations: 9.275 MB / 1.378 GB, free: 9.094 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/1.066, allocations: 1.248 MB / 1.379 GB, free: 8.148 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0009931/1.067, allocations: 327.5 kB / 1.38 GB, free: 7.996 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007867/1.068, allocations: 0.6297 MB / 1.38 GB, free: 7.469 MB / 1.045 GB Notification: Performance of SimCode: time 5.51e-07/1.068, allocations: 2.312 kB / 1.38 GB, free: 7.469 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05264/1.12, allocations: 31.16 MB / 1.411 GB, free: 10.06 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.68, allocations: 7.922 kB / 1.411 GB, free: 10.05 MB / 1.076 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.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_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches