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.008143/0.008143, allocations: 98.56 kB / 15.73 MB, free: 6.008 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.002011/0.002011, allocations: 195.1 kB / 16.68 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.491/2.491, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2433, 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.006584/0.2499, allocations: 5.402 MB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.671/0.921, allocations: 150.8 MB / 1.319 GB, free: 10.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008132/0.9218, allocations: 20.91 kB / 1.319 GB, free: 10.31 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007344/0.9226, allocations: 210.9 kB / 1.319 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.9245, allocations: 0.5752 MB / 1.32 GB, free: 9.934 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.9267, allocations: 0.9426 MB / 1.32 GB, free: 9.766 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001933/0.9287, allocations: 1.624 MB / 1.322 GB, free: 9.465 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.9298, allocations: 0.7448 MB / 1.323 GB, free: 9.258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009698/0.9308, allocations: 0.5909 MB / 1.323 GB, free: 9.059 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.9318, allocations: 0.6467 MB / 1.324 GB, free: 8.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003622/0.9322, allocations: 142.1 kB / 1.324 GB, free: 8.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.9334, allocations: 0.5266 MB / 1.325 GB, free: 8.605 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004458/0.9339, allocations: 365.7 kB / 1.325 GB, free: 8.375 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009739/0.9348, allocations: 0.679 MB / 1.326 GB, free: 7.926 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002682/0.9375, allocations: 1.918 MB / 1.327 GB, free: 7.121 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.9375, allocations: 5.031 kB / 1.328 GB, free: 7.117 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.173e-06/0.9376, allocations: 0 / 1.328 GB, free: 7.117 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.076e-05/0.9376, allocations: 0 / 1.328 GB, free: 7.117 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.004185/0.9418, allocations: 1.718 MB / 1.329 GB, free: 6.004 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.9419, allocations: 14.92 kB / 1.329 GB, free: 6 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000212/0.9421, allocations: 171.1 kB / 1.329 GB, free: 5.887 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005484/0.9476, allocations: 0.7599 MB / 1.33 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.949, allocations: 0.8382 MB / 1.331 GB, free: 5.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.9491, allocations: 83.64 kB / 1.331 GB, free: 5.211 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.9493, allocations: 111.1 kB / 1.331 GB, free: 5.172 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003672/0.9529, allocations: 1.429 MB / 1.332 GB, free: 4.602 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.953, allocations: 5.062 kB / 1.333 GB, free: 4.598 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.9531, allocations: 49.88 kB / 1.333 GB, free: 4.562 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.9532, allocations: 26.94 kB / 1.333 GB, free: 4.562 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004687/0.9579, allocations: 1.883 MB / 1.334 GB, free: 4.137 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.006275/0.9641, allocations: 3.519 MB / 1.338 GB, free: 2.148 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.9676, allocations: 1.378 MB / 1.339 GB, free: 1.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.9692, allocations: 0.598 MB / 1.34 GB, free: 1.371 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006361/0.9698, allocations: 477 kB / 1.34 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001886/0.9717, allocations: 0.8148 MB / 1.341 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of pre-optimization done (n=109): time 2.665e-06/0.9717, allocations: 0 / 1.341 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of matching and sorting (n=109): time 0.006304/0.978, allocations: 1.982 MB / 1.343 GB, free: 15.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.9781, allocations: 192.2 kB / 1.343 GB, free: 15.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008139/0.979, allocations: 0.6474 MB / 1.344 GB, free: 15.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.924e-05/0.9791, allocations: 44.36 kB / 1.344 GB, free: 15.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.9794, allocations: 453 kB / 1.344 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.9797, allocations: 373 kB / 1.345 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/0.98, allocations: 189.6 kB / 1.345 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.9802, allocations: 394.2 kB / 1.345 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.9817, allocations: 497.6 kB / 1.346 GB, free: 14.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.9833, allocations: 0.6034 MB / 1.346 GB, free: 13.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003038/0.9864, allocations: 1.066 MB / 1.347 GB, free: 13.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9864, allocations: 0 / 1.347 GB, free: 13.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004034/0.9904, allocations: 1.324 MB / 1.349 GB, free: 12.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.9905, allocations: 11.31 kB / 1.349 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9905, allocations: 0.9375 kB / 1.349 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/0.9911, allocations: 88.45 kB / 1.349 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.9925, allocations: 257.9 kB / 1.349 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.9946, allocations: 1.641 MB / 1.351 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.996, allocations: 158.5 kB / 1.351 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/0.9961, allocations: 43 kB / 1.351 GB, free: 11.2 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.0005686/0.9967, allocations: 281.3 kB / 1.351 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.997, allocations: 108.2 kB / 1.351 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/1.002, allocations: 1.673 MB / 1.353 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.002, allocations: 13.91 kB / 1.353 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/1.002, allocations: 0 / 1.353 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.002, allocations: 7.969 kB / 1.353 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006092/1.008, allocations: 2.819 MB / 1.355 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.008, allocations: 1.25 kB / 1.355 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/1.009, allocations: 256.7 kB / 1.356 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/1.01, allocations: 74.97 kB / 1.356 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/1.01, allocations: 34.97 kB / 1.356 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/1.012, allocations: 1.653 MB / 1.357 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.012, allocations: 7.094 kB / 1.357 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004202/1.016, allocations: 1.535 MB / 1.359 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/1.017, allocations: 329.4 kB / 1.359 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/1.017, allocations: 21.38 kB / 1.359 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.018, allocations: 122.9 kB / 1.359 GB, free: 5.277 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/1.018, allocations: 86.62 kB / 1.359 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/1.018, allocations: 49.69 kB / 1.36 GB, free: 5.215 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006666/1.019, allocations: 477.6 kB / 1.36 GB, free: 4.941 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.412e-06/1.019, allocations: 0 / 1.36 GB, free: 4.941 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001234/1.02, allocations: 402.1 kB / 1.36 GB, free: 4.824 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.005884/1.026, allocations: 2.619 MB / 1.363 GB, free: 3.266 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003778/1.03, allocations: 1.363 MB / 1.364 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.03, allocations: 0 / 1.364 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/1.032, allocations: 0.8185 MB / 1.365 GB, free: 2.148 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/1.034, allocations: 322.3 kB / 1.365 GB, free: 1.984 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/1.051, allocations: 8.222 MB / 1.373 GB, free: 13.11 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/1.052, allocations: 1.082 MB / 1.374 GB, free: 12.25 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001366/1.053, allocations: 340 kB / 1.375 GB, free: 12.06 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008058/1.054, allocations: 465.2 kB / 1.375 GB, free: 11.69 MB / 1.045 GB Notification: Performance of SimCode: time 6.81e-07/1.054, allocations: 0 / 1.375 GB, free: 11.69 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05373/1.108, allocations: 25.61 MB / 1.4 GB, free: 4.734 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.49, allocations: 10.78 kB / 1.4 GB, free: 4.723 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