Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.004506/0.004506, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001085/0.001085, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.509/2.509, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.91 kB / 1.018 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2376, allocations: 151.6 MB / 1.166 GB, free: 7.488 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007001/0.2446, allocations: 5.968 MB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6634/0.9081, allocations: 150.8 MB / 1.319 GB, free: 9.215 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008886/0.909, allocations: 20.47 kB / 1.319 GB, free: 9.207 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008244/0.9099, allocations: 238.1 kB / 1.32 GB, free: 9.074 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.912, allocations: 0.6374 MB / 1.32 GB, free: 8.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.9141, allocations: 0.8698 MB / 1.321 GB, free: 8.613 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002038/0.9162, allocations: 1.65 MB / 1.323 GB, free: 8.266 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.9175, allocations: 0.8695 MB / 1.323 GB, free: 8.016 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009569/0.9185, allocations: 0.6072 MB / 1.324 GB, free: 7.891 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009673/0.9194, allocations: 0.6622 MB / 1.325 GB, free: 7.723 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003367/0.9198, allocations: 154 kB / 1.325 GB, free: 7.723 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.9209, allocations: 0.5155 MB / 1.325 GB, free: 7.688 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004111/0.9214, allocations: 374.6 kB / 1.326 GB, free: 7.508 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009728/0.9223, allocations: 0.7384 MB / 1.326 GB, free: 7.02 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002736/0.9251, allocations: 2.046 MB / 1.328 GB, free: 6.141 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9251, allocations: 5.25 kB / 1.328 GB, free: 6.137 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9251, allocations: 0 / 1.328 GB, free: 6.137 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.293e-05/0.9252, allocations: 0.5625 kB / 1.328 GB, free: 6.137 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003819/0.929, allocations: 1.757 MB / 1.33 GB, free: 4.961 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.929, allocations: 14.31 kB / 1.33 GB, free: 4.957 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002489/0.9293, allocations: 182 kB / 1.33 GB, free: 4.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.9304, allocations: 231.6 kB / 1.331 GB, free: 4.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.9319, allocations: 0.8742 MB / 1.331 GB, free: 4.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.122e-05/0.932, allocations: 90.56 kB / 1.331 GB, free: 4.137 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.9321, allocations: 125.1 kB / 1.332 GB, free: 4.094 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.9343, allocations: 1.197 MB / 1.333 GB, free: 3.539 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.9343, allocations: 0 / 1.333 GB, free: 3.539 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.9345, allocations: 53.83 kB / 1.333 GB, free: 3.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.9345, allocations: 33 kB / 1.333 GB, free: 3.496 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.9366, allocations: 1.283 MB / 1.334 GB, free: 3.172 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.005313/0.942, allocations: 3.547 MB / 1.338 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.9436, allocations: 0.8691 MB / 1.338 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006057/0.9443, allocations: 334.4 kB / 1.339 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.96e-05/0.9444, allocations: 28.12 kB / 1.339 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000934/0.9453, allocations: 0.5188 MB / 1.339 GB, free: 308 kB / 1.014 GB Notification: Performance of pre-optimization done (n=87): time 3.276e-06/0.9453, allocations: 0 / 1.339 GB, free: 308 kB / 1.014 GB Notification: Performance of matching and sorting (n=87): time 0.003497/0.9488, allocations: 1.292 MB / 1.341 GB, free: 15.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.9489, allocations: 190.3 kB / 1.341 GB, free: 15.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.95, allocations: 0.7402 MB / 1.341 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.264e-05/0.9501, allocations: 42.95 kB / 1.341 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.9505, allocations: 0.5275 MB / 1.342 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.9508, allocations: 296.7 kB / 1.342 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.951, allocations: 156.8 kB / 1.342 GB, free: 14.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.9512, allocations: 338.5 kB / 1.343 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005619/0.9517, allocations: 268.8 kB / 1.343 GB, free: 14.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006772/0.9524, allocations: 390.5 kB / 1.343 GB, free: 13.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.9536, allocations: 0.6361 MB / 1.344 GB, free: 13.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.9536, allocations: 1.094 kB / 1.344 GB, free: 13.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002122/0.9558, allocations: 0.8781 MB / 1.345 GB, free: 13.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.9558, allocations: 5.219 kB / 1.345 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.9558, allocations: 1.406 kB / 1.345 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006065/0.9564, allocations: 86.73 kB / 1.345 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/0.9571, allocations: 163 kB / 1.345 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.9592, allocations: 1.635 MB / 1.347 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008555/0.96, allocations: 102.1 kB / 1.347 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.9601, allocations: 34.83 kB / 1.347 GB, free: 11.54 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: 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 (96): * Single equations (assignments): 95 * 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.0005209/0.9607, allocations: 295 kB / 1.347 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.9609, allocations: 100.6 kB / 1.347 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.9634, allocations: 1.123 MB / 1.348 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.9635, allocations: 14.16 kB / 1.348 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9635, allocations: 1.188 kB / 1.348 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.9635, allocations: 4.594 kB / 1.348 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.9649, allocations: 1.052 MB / 1.349 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.9649, allocations: 4 kB / 1.349 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/0.9655, allocations: 151.1 kB / 1.35 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/0.966, allocations: 72.41 kB / 1.35 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-05/0.9661, allocations: 31.62 kB / 1.35 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.9679, allocations: 1.662 MB / 1.351 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9679, allocations: 0 / 1.351 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.9701, allocations: 0.994 MB / 1.352 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.9706, allocations: 299.9 kB / 1.352 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.9708, allocations: 21.16 kB / 1.353 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007274/0.9716, allocations: 63.55 kB / 1.353 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.9717, allocations: 74.42 kB / 1.353 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/0.9718, allocations: 38.62 kB / 1.353 GB, free: 7.988 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007413/0.9726, allocations: 0.5204 MB / 1.353 GB, free: 7.762 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9726, allocations: 0 / 1.353 GB, free: 7.762 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001063/0.9736, allocations: 389.9 kB / 1.354 GB, free: 7.648 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.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 (98): * Single equations (assignments): 92 * 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.00365/0.9773, allocations: 2.037 MB / 1.356 GB, free: 6.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.979, allocations: 0.8633 MB / 1.356 GB, free: 6.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.979, allocations: 0 / 1.356 GB, free: 6.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009613/0.98, allocations: 0.546 MB / 1.357 GB, free: 5.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.9814, allocations: 335.2 kB / 1.357 GB, free: 5.793 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.9927, allocations: 7.079 MB / 1.364 GB, free: 1.586 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.9934, allocations: 1.108 MB / 1.365 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009345/0.9944, allocations: 300.4 kB / 1.366 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/0.995, allocations: 481 kB / 1.366 GB, free: 168 kB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.995, allocations: 0 / 1.366 GB, free: 168 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04994/1.045, allocations: 24.16 MB / 1.39 GB, free: 15.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.39, allocations: 4 kB / 1.39 GB, free: 15.55 MB / 1.061 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=18316800.000000 File[1]=18230400.000000 Error: Could not read variable HDifWal.H in file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv. Warning: Get data of variable HDifWal.H from file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv failed! " Variables in the reference:time,HDifRoo.H,HDifWal.H,HDifFlo.H Variables in the result:time,HDifFlo.H,HDifFlo.add.u1,HDifFlo.add.u2,HDifRoo.H,HDifRoo.add.u1