Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.007875/0.007875, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.002322/0.002322, allocations: 199 kB / 16.68 MB, free: 5.965 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.616/1.616, allocations: 222.9 MB / 240.4 MB, free: 4.32 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 3.28/3.28, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2831, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007393/0.2906, allocations: 5.397 MB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7383/1.029, allocations: 150.9 MB / 1.319 GB, free: 9.773 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000802/1.03, allocations: 16.19 kB / 1.319 GB, free: 9.77 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/1.03, allocations: 202.4 kB / 1.319 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/1.032, allocations: 0.5743 MB / 1.32 GB, free: 9.391 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/1.034, allocations: 0.9478 MB / 1.32 GB, free: 9.223 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001756/1.036, allocations: 1.622 MB / 1.322 GB, free: 8.922 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/1.037, allocations: 0.7436 MB / 1.323 GB, free: 8.715 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000816/1.038, allocations: 0.5884 MB / 1.323 GB, free: 8.598 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007737/1.039, allocations: 0.6458 MB / 1.324 GB, free: 8.445 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/1.039, allocations: 142.2 kB / 1.324 GB, free: 8.445 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/1.04, allocations: 0.5264 MB / 1.325 GB, free: 8.371 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004013/1.04, allocations: 368.9 kB / 1.325 GB, free: 8.137 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006949/1.041, allocations: 0.671 MB / 1.326 GB, free: 7.695 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/1.043, allocations: 1.923 MB / 1.327 GB, free: 6.887 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/1.043, allocations: 0 / 1.327 GB, free: 6.887 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.162e-06/1.043, allocations: 0 / 1.327 GB, free: 6.887 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.357e-05/1.043, allocations: 0.5625 kB / 1.327 GB, free: 6.887 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003602/1.047, allocations: 1.721 MB / 1.329 GB, free: 5.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/1.047, allocations: 9.375 kB / 1.329 GB, free: 5.77 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/1.047, allocations: 171.2 kB / 1.329 GB, free: 5.656 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005354/1.053, allocations: 0.7588 MB / 1.33 GB, free: 5.559 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/1.054, allocations: 0.8374 MB / 1.331 GB, free: 5.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.165e-05/1.055, allocations: 88.03 kB / 1.331 GB, free: 4.977 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/1.055, allocations: 106.3 kB / 1.331 GB, free: 4.941 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/1.058, allocations: 1.434 MB / 1.332 GB, free: 4.367 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/1.058, allocations: 3.016 kB / 1.332 GB, free: 4.367 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/1.058, allocations: 43.03 kB / 1.333 GB, free: 4.336 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/1.058, allocations: 35.02 kB / 1.333 GB, free: 4.328 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005023/1.064, allocations: 1.886 MB / 1.334 GB, free: 3.898 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.006846/1.07, allocations: 3.504 MB / 1.338 GB, free: 1.922 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00356/1.074, allocations: 1.387 MB / 1.339 GB, free: 1.355 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/1.076, allocations: 0.5972 MB / 1.34 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007484/1.076, allocations: 483.9 kB / 1.34 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00195/1.078, allocations: 0.8028 MB / 1.341 GB, free: 372 kB / 1.014 GB Notification: Performance of pre-optimization done (n=109): time 2.926e-06/1.078, allocations: 0 / 1.341 GB, free: 372 kB / 1.014 GB Notification: Performance of matching and sorting (n=109): time 0.006446/1.085, allocations: 1.978 MB / 1.343 GB, free: 15.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/1.085, allocations: 199 kB / 1.343 GB, free: 15.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/1.086, allocations: 0.6408 MB / 1.344 GB, free: 15.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/1.086, allocations: 47.2 kB / 1.344 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/1.087, allocations: 454.2 kB / 1.344 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/1.087, allocations: 375.8 kB / 1.345 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/1.087, allocations: 189.5 kB / 1.345 GB, free: 14.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002224/1.088, allocations: 399.8 kB / 1.345 GB, free: 14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/1.089, allocations: 490.9 kB / 1.346 GB, free: 13.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/1.091, allocations: 0.6104 MB / 1.346 GB, free: 13.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003181/1.094, allocations: 1.066 MB / 1.347 GB, free: 13.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.094, allocations: 0 / 1.347 GB, free: 13.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004257/1.098, allocations: 1.327 MB / 1.349 GB, free: 12.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.098, allocations: 7.812 kB / 1.349 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.098, allocations: 0.9375 kB / 1.349 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/1.099, allocations: 85.69 kB / 1.349 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.1, allocations: 259.7 kB / 1.349 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/1.103, allocations: 1.639 MB / 1.35 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/1.104, allocations: 158.5 kB / 1.351 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.105, allocations: 46.2 kB / 1.351 GB, free: 10.99 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.0006553/1.105, allocations: 281.6 kB / 1.351 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/1.106, allocations: 104.1 kB / 1.351 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004853/1.11, allocations: 1.681 MB / 1.353 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.11, allocations: 12.47 kB / 1.353 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.11, allocations: 0 / 1.353 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/1.11, allocations: 5.984 kB / 1.353 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006326/1.117, allocations: 2.819 MB / 1.355 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.117, allocations: 1.375 kB / 1.355 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/1.118, allocations: 251.9 kB / 1.356 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004488/1.119, allocations: 75.28 kB / 1.356 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/1.119, allocations: 34.97 kB / 1.356 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/1.121, allocations: 1.662 MB / 1.357 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.121, allocations: 3.938 kB / 1.357 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00428/1.125, allocations: 1.531 MB / 1.359 GB, free: 5.418 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005921/1.126, allocations: 326.6 kB / 1.359 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/1.126, allocations: 32.05 kB / 1.359 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.127, allocations: 117.5 kB / 1.359 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.128, allocations: 91.91 kB / 1.359 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.128, allocations: 49.05 kB / 1.36 GB, free: 4.988 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006246/1.128, allocations: 475.4 kB / 1.36 GB, free: 4.719 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.128, allocations: 0 / 1.36 GB, free: 4.719 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001114/1.129, allocations: 397.2 kB / 1.36 GB, free: 4.605 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.006479/1.136, allocations: 2.624 MB / 1.363 GB, free: 3.043 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004002/1.14, allocations: 1.354 MB / 1.364 GB, free: 2.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.14, allocations: 0 / 1.364 GB, free: 2.371 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/1.142, allocations: 0.8207 MB / 1.365 GB, free: 1.934 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.144, allocations: 315 kB / 1.365 GB, free: 1.777 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/1.161, allocations: 8.238 MB / 1.373 GB, free: 12.89 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007911/1.162, allocations: 1.08 MB / 1.374 GB, free: 12.03 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001384/1.163, allocations: 347.9 kB / 1.375 GB, free: 11.84 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008031/1.164, allocations: 464.3 kB / 1.375 GB, free: 11.47 MB / 1.045 GB Notification: Performance of SimCode: time 1.032e-06/1.164, allocations: 0 / 1.375 GB, free: 11.47 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07415/1.238, allocations: 25.6 MB / 1.4 GB, free: 4.547 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/19.21, allocations: 14.27 kB / 1.4 GB, free: 4.535 MB / 1.061 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches