Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_11_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.005178/0.005178, allocations: 101.9 kB / 15.74 MB, free: 6.043 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.001533/0.001533, allocations: 202.1 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.834/2.834, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001909, allocations: 60.08 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2708, allocations: 159.1 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00714/0.278, allocations: 5.39 MB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6661/0.9442, allocations: 150.8 MB / 1.373 GB, free: 10.55 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007624/0.945, allocations: 15.97 kB / 1.373 GB, free: 10.54 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006744/0.9457, allocations: 204.2 kB / 1.373 GB, free: 10.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.9476, allocations: 0.5801 MB / 1.373 GB, free: 10.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.9497, allocations: 0.9439 MB / 1.374 GB, free: 9.586 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001877/0.9516, allocations: 1.62 MB / 1.376 GB, free: 8.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.9527, allocations: 0.7532 MB / 1.377 GB, free: 8.363 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008999/0.9536, allocations: 0.5895 MB / 1.377 GB, free: 8.074 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000879/0.9545, allocations: 0.6454 MB / 1.378 GB, free: 7.746 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.9547, allocations: 146.8 kB / 1.378 GB, free: 7.742 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009053/0.9556, allocations: 0.5208 MB / 1.379 GB, free: 7.621 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003471/0.956, allocations: 360.1 kB / 1.379 GB, free: 7.395 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000656/0.9566, allocations: 0.6724 MB / 1.38 GB, free: 6.953 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.9588, allocations: 1.929 MB / 1.381 GB, free: 5.648 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.9588, allocations: 1.031 kB / 1.381 GB, free: 5.648 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9588, allocations: 0 / 1.381 GB, free: 5.648 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.9588, allocations: 0 / 1.381 GB, free: 5.648 MB / 1.076 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.003261/0.9621, allocations: 1.724 MB / 1.383 GB, free: 4.328 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.9621, allocations: 11.72 kB / 1.383 GB, free: 4.328 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002068/0.9624, allocations: 166.2 kB / 1.383 GB, free: 4.191 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005464/0.9678, allocations: 0.7626 MB / 1.384 GB, free: 3.844 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.9692, allocations: 0.8425 MB / 1.385 GB, free: 3.148 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/0.9693, allocations: 82.45 kB / 1.385 GB, free: 3.109 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.9694, allocations: 107.5 kB / 1.385 GB, free: 3.074 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/0.9729, allocations: 1.433 MB / 1.386 GB, free: 2.18 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.9729, allocations: 0 / 1.386 GB, free: 2.18 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.9731, allocations: 50.61 kB / 1.387 GB, free: 2.141 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.9731, allocations: 27.47 kB / 1.387 GB, free: 2.141 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005093/0.9782, allocations: 1.888 MB / 1.388 GB, free: 1.246 MB / 1.076 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.006536/0.9847, allocations: 3.504 MB / 1.392 GB, free: 14.54 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003762/0.9885, allocations: 1.391 MB / 1.393 GB, free: 13.78 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.9902, allocations: 0.6014 MB / 1.394 GB, free: 13.48 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007337/0.991, allocations: 473.2 kB / 1.394 GB, free: 12.97 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002076/0.9931, allocations: 0.8165 MB / 1.395 GB, free: 12.47 MB / 1.092 GB Notification: Performance of pre-optimization done (n=109): time 2.885e-06/0.9931, allocations: 0 / 1.395 GB, free: 12.47 MB / 1.092 GB Notification: Performance of matching and sorting (n=109): time 0.006709/0.9998, allocations: 1.975 MB / 1.397 GB, free: 11.46 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.9999, allocations: 195.9 kB / 1.397 GB, free: 11.23 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008738/1.001, allocations: 0.6524 MB / 1.398 GB, free: 10.85 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.567e-05/1.001, allocations: 46.58 kB / 1.398 GB, free: 10.8 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/1.001, allocations: 452.5 kB / 1.398 GB, free: 10.41 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/1.002, allocations: 368.5 kB / 1.399 GB, free: 10.09 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003583/1.002, allocations: 189 kB / 1.399 GB, free: 9.977 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000211/1.002, allocations: 395.1 kB / 1.399 GB, free: 9.602 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/1.004, allocations: 494.3 kB / 1.4 GB, free: 9.363 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/1.006, allocations: 0.6162 MB / 1.4 GB, free: 9.004 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/1.009, allocations: 1.065 MB / 1.401 GB, free: 8.453 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.009, allocations: 4 kB / 1.401 GB, free: 8.449 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004162/1.013, allocations: 1.322 MB / 1.403 GB, free: 7.797 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.013, allocations: 3.375 kB / 1.403 GB, free: 7.797 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.013, allocations: 6.156 kB / 1.403 GB, free: 7.793 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/1.014, allocations: 82.39 kB / 1.403 GB, free: 7.754 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.015, allocations: 265 kB / 1.403 GB, free: 7.676 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/1.017, allocations: 1.624 MB / 1.404 GB, free: 6.074 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/1.019, allocations: 168.7 kB / 1.405 GB, free: 5.973 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.646e-05/1.019, allocations: 43.75 kB / 1.405 GB, free: 5.957 MB / 1.092 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.0005236/1.019, allocations: 285.3 kB / 1.405 GB, free: 5.734 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/1.02, allocations: 100.8 kB / 1.405 GB, free: 5.68 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/1.024, allocations: 1.681 MB / 1.407 GB, free: 4.762 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.024, allocations: 13.34 kB / 1.407 GB, free: 4.762 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/1.024, allocations: 0 / 1.407 GB, free: 4.762 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/1.024, allocations: 7.969 kB / 1.407 GB, free: 4.754 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006004/1.03, allocations: 2.815 MB / 1.409 GB, free: 2.891 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.03, allocations: 0 / 1.409 GB, free: 2.891 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/1.032, allocations: 251.6 kB / 1.41 GB, free: 2.645 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004851/1.032, allocations: 76.8 kB / 1.41 GB, free: 2.566 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-05/1.033, allocations: 31.97 kB / 1.41 GB, free: 2.535 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/1.035, allocations: 1.674 MB / 1.411 GB, free: 0.7148 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.035, allocations: 3.938 kB / 1.411 GB, free: 0.7109 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/1.039, allocations: 1.533 MB / 1.413 GB, free: 15.15 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005001/1.04, allocations: 323.9 kB / 1.413 GB, free: 14.82 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/1.04, allocations: 31.94 kB / 1.413 GB, free: 14.79 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.041, allocations: 121.7 kB / 1.413 GB, free: 14.67 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.042, allocations: 84.88 kB / 1.413 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.042, allocations: 47.97 kB / 1.414 GB, free: 14.54 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006332/1.042, allocations: 471 kB / 1.414 GB, free: 14.08 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.042, allocations: 0 / 1.414 GB, free: 14.08 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001081/1.043, allocations: 407 kB / 1.414 GB, free: 13.68 MB / 1.107 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.006586/1.05, allocations: 2.622 MB / 1.417 GB, free: 11.23 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003908/1.054, allocations: 1.351 MB / 1.418 GB, free: 9.867 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.054, allocations: 4 kB / 1.418 GB, free: 9.863 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/1.056, allocations: 0.8163 MB / 1.419 GB, free: 9.035 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/1.057, allocations: 309.8 kB / 1.419 GB, free: 8.754 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/1.075, allocations: 8.238 MB / 1.427 GB, free: 364 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008204/1.076, allocations: 1.085 MB / 1.428 GB, free: 15.24 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001269/1.077, allocations: 343.8 kB / 1.429 GB, free: 14.9 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008082/1.078, allocations: 463.2 kB / 1.429 GB, free: 14.45 MB / 1.123 GB Notification: Performance of SimCode: time 4.81e-07/1.078, allocations: 0 / 1.429 GB, free: 14.45 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06144/1.14, allocations: 25.62 MB / 1.454 GB, free: 5.234 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/14.17, allocations: 448 / 1.454 GB, free: 5.234 MB / 1.139 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches