Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.006895/0.006895, allocations: 99.64 kB / 15.73 MB, free: 6.02 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.001797/0.001797, allocations: 191.9 kB / 16.67 MB, free: 5.938 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.765/1.765, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.517/2.517, allocations: 437 MB / 0.7105 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 60.11 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6562/0.658, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006914/0.665, allocations: 5.186 MB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.8356, allocations: 150.7 MB / 1.318 GB, free: 7.215 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006887/0.8363, allocations: 19.94 kB / 1.318 GB, free: 7.195 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005492/0.8369, allocations: 202.1 kB / 1.319 GB, free: 6.996 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.8385, allocations: 0.5638 MB / 1.319 GB, free: 6.434 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.8403, allocations: 0.8641 MB / 1.32 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001455/0.8418, allocations: 1.452 MB / 1.321 GB, free: 4.113 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009418/0.8427, allocations: 0.6571 MB / 1.322 GB, free: 3.434 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005892/0.8433, allocations: 0.5138 MB / 1.323 GB, free: 2.918 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006477/0.844, allocations: 0.5484 MB / 1.323 GB, free: 2.367 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.8442, allocations: 124 kB / 1.323 GB, free: 2.246 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000841/0.845, allocations: 0.5074 MB / 1.324 GB, free: 1.738 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.8454, allocations: 311 kB / 1.324 GB, free: 1.434 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005768/0.8459, allocations: 0.6141 MB / 1.325 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.8479, allocations: 1.765 MB / 1.326 GB, free: 15.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.8479, allocations: 0 / 1.326 GB, free: 15.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8479, allocations: 4 kB / 1.326 GB, free: 15.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.8479, allocations: 0 / 1.326 GB, free: 15.04 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002574/0.8505, allocations: 1.555 MB / 1.328 GB, free: 13.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.8506, allocations: 8.922 kB / 1.328 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/0.8508, allocations: 152.1 kB / 1.328 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.8519, allocations: 224 kB / 1.328 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.853, allocations: 0.7854 MB / 1.329 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.8531, allocations: 70 kB / 1.329 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.8533, allocations: 92 kB / 1.329 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.8551, allocations: 1.012 MB / 1.33 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.8551, allocations: 7.938 kB / 1.33 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.919e-05/0.8552, allocations: 36 kB / 1.33 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.8553, allocations: 24 kB / 1.33 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.8574, allocations: 1.182 MB / 1.331 GB, free: 9.766 MB / 1.061 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.004407/0.8618, allocations: 2.946 MB / 1.334 GB, free: 6.688 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.8636, allocations: 0.9193 MB / 1.335 GB, free: 5.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006302/0.8642, allocations: 318.7 kB / 1.335 GB, free: 5.434 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/0.8649, allocations: 466.2 kB / 1.336 GB, free: 4.887 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009624/0.8659, allocations: 0.5048 MB / 1.336 GB, free: 4.363 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.084e-06/0.8659, allocations: 0 / 1.336 GB, free: 4.363 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003375/0.8693, allocations: 1.241 MB / 1.338 GB, free: 3.098 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.8694, allocations: 196.6 kB / 1.338 GB, free: 2.863 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008363/0.8703, allocations: 0.645 MB / 1.338 GB, free: 2.211 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/0.8703, allocations: 41.7 kB / 1.338 GB, free: 2.164 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.8707, allocations: 433 kB / 1.339 GB, free: 1.734 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.871, allocations: 277.7 kB / 1.339 GB, free: 1.461 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.8712, allocations: 146.6 kB / 1.339 GB, free: 1.312 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.8715, allocations: 390.8 kB / 1.34 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005803/0.872, allocations: 257.8 kB / 1.34 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007008/0.8728, allocations: 374.5 kB / 1.34 GB, free: 284 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.874, allocations: 0.6033 MB / 1.341 GB, free: 15.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.874, allocations: 4 kB / 1.341 GB, free: 15.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002021/0.8761, allocations: 0.8257 MB / 1.342 GB, free: 14.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.8761, allocations: 8.094 kB / 1.342 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.8761, allocations: 11.92 kB / 1.342 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/0.8767, allocations: 80.72 kB / 1.342 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.8774, allocations: 159.8 kB / 1.342 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.8796, allocations: 1.627 MB / 1.343 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/0.8802, allocations: 99.44 kB / 1.344 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.8803, allocations: 27.98 kB / 1.344 GB, free: 12.67 MB / 1.076 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 (88): * Single equations (assignments): 87 * 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.0003905/0.8807, allocations: 274.2 kB / 1.344 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.8809, allocations: 87.48 kB / 1.344 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.8835, allocations: 1.093 MB / 1.345 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.8835, allocations: 15.98 kB / 1.345 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.8835, allocations: 0 / 1.345 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.8835, allocations: 7.984 kB / 1.345 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/0.887, allocations: 2.017 MB / 1.347 GB, free: 9.094 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.887, allocations: 0 / 1.347 GB, free: 9.094 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.8877, allocations: 151.7 kB / 1.347 GB, free: 8.945 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/0.8881, allocations: 72.78 kB / 1.347 GB, free: 8.871 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.8882, allocations: 23.98 kB / 1.347 GB, free: 8.848 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.8902, allocations: 1.655 MB / 1.349 GB, free: 7.047 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.8902, allocations: 4.062 kB / 1.349 GB, free: 7.043 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.8924, allocations: 1.026 MB / 1.35 GB, free: 5.996 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/0.8928, allocations: 288.1 kB / 1.35 GB, free: 5.695 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.8929, allocations: 20 kB / 1.35 GB, free: 5.676 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/0.8936, allocations: 67.92 kB / 1.35 GB, free: 5.609 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.8938, allocations: 72.83 kB / 1.35 GB, free: 5.539 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-05/0.8938, allocations: 35.98 kB / 1.35 GB, free: 5.504 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006/0.8945, allocations: 467 kB / 1.351 GB, free: 5.051 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8945, allocations: 0 / 1.351 GB, free: 5.051 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008379/0.8953, allocations: 351.1 kB / 1.351 GB, free: 4.707 MB / 1.076 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 (93): * Single equations (assignments): 87 * 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.004321/0.8996, allocations: 2.108 MB / 1.353 GB, free: 2.742 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.9014, allocations: 0.8195 MB / 1.354 GB, free: 1.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9014, allocations: 0 / 1.354 GB, free: 1.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.9025, allocations: 0.5432 MB / 1.354 GB, free: 1.355 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.9037, allocations: 311.3 kB / 1.355 GB, free: 1.078 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.9145, allocations: 6.437 MB / 1.361 GB, free: 10.48 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/0.9153, allocations: 1.043 MB / 1.362 GB, free: 9.406 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007893/0.9161, allocations: 270.8 kB / 1.362 GB, free: 9.137 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006131/0.9167, allocations: 411.3 kB / 1.363 GB, free: 8.734 MB / 1.092 GB Notification: Performance of SimCode: time 2.284e-06/0.9167, allocations: 0 / 1.363 GB, free: 8.734 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05674/0.9735, allocations: 22.45 MB / 1.385 GB, free: 2.543 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.38, allocations: 23.92 kB / 1.385 GB, free: 2.523 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,skyCle.skyCle Variables in the result:time,skyCle.skyCle,weaBus.HDifHor,weaBus.HDirNor,weaBus.HGloHor,weaBus.HHorIR