Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.00727/0.007271, allocations: 96.2 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.001635/0.001635, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 62.41 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2707, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006363/0.2771, allocations: 4.417 MB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1526/0.4298, allocations: 150.6 MB / 1.239 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006914/0.4305, allocations: 15.94 kB / 1.239 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.4311, allocations: 182.3 kB / 1.239 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.4326, allocations: 0.5068 MB / 1.24 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.4344, allocations: 0.8471 MB / 1.24 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.4358, allocations: 1.34 MB / 1.242 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009597/0.4367, allocations: 0.7156 MB / 1.242 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006743/0.4374, allocations: 0.4983 MB / 1.243 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006022/0.438, allocations: 0.5307 MB / 1.243 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.4382, allocations: 128 kB / 1.243 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008818/0.4391, allocations: 499.6 kB / 1.244 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002725/0.4394, allocations: 323 kB / 1.244 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004772/0.4398, allocations: 0.5907 MB / 1.245 GB, free: 236 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.4417, allocations: 1.728 MB / 1.247 GB, free: 14.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4417, allocations: 0 / 1.247 GB, free: 14.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4417, allocations: 0 / 1.247 GB, free: 14.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.16e-05/0.4417, allocations: 0 / 1.247 GB, free: 14.5 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002587/0.4443, allocations: 1.529 MB / 1.248 GB, free: 12.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4443, allocations: 8.031 kB / 1.248 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.4445, allocations: 156.3 kB / 1.248 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.4462, allocations: 311.9 kB / 1.248 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.4474, allocations: 0.7932 MB / 1.249 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.926e-05/0.4475, allocations: 70 kB / 1.249 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.4476, allocations: 99.98 kB / 1.249 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.4495, allocations: 1.062 MB / 1.25 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.4496, allocations: 4 kB / 1.25 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-05/0.4497, allocations: 44 kB / 1.25 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.4497, allocations: 24 kB / 1.251 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.452, allocations: 1.264 MB / 1.252 GB, free: 9 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00437/0.4564, allocations: 2.705 MB / 1.254 GB, free: 6.234 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.459, allocations: 1.013 MB / 1.255 GB, free: 5.199 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007827/0.4597, allocations: 362.6 kB / 1.256 GB, free: 4.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.48e-05/0.4598, allocations: 38.47 kB / 1.256 GB, free: 4.805 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.4609, allocations: 0.5549 MB / 1.256 GB, free: 4.227 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.016e-06/0.4609, allocations: 0 / 1.256 GB, free: 4.227 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.003835/0.4648, allocations: 1.38 MB / 1.258 GB, free: 2.824 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.4649, allocations: 192.9 kB / 1.258 GB, free: 2.594 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007533/0.4657, allocations: 0.645 MB / 1.258 GB, free: 1.941 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/0.4657, allocations: 41.7 kB / 1.259 GB, free: 1.895 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.4661, allocations: 444.9 kB / 1.259 GB, free: 1.453 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.4663, allocations: 285.5 kB / 1.259 GB, free: 1.172 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.4665, allocations: 150.6 kB / 1.259 GB, free: 1.016 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.4667, allocations: 386.8 kB / 1.26 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007177/0.4675, allocations: 297.8 kB / 1.26 GB, free: 348 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4971/0.9645, allocations: 409.3 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.9663, allocations: 0.6905 MB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.9664, allocations: 0 / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002524/0.9689, allocations: 0.922 MB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.9689, allocations: 7.219 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.969, allocations: 1.531 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.9695, allocations: 80.11 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008066/0.9704, allocations: 177 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.9722, allocations: 1.634 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008812/0.9731, allocations: 114.2 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/0.9732, allocations: 37.34 kB / 1.264 GB, free: 171.9 MB / 1.014 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 (90): * Single equations (assignments): 89 * 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.0004464/0.9736, allocations: 281.2 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.9738, allocations: 89.38 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002988/0.9768, allocations: 1.205 MB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.9768, allocations: 10.36 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.9768, allocations: 3.938 kB / 1.266 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.9769, allocations: 5.75 kB / 1.266 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/0.9809, allocations: 2.148 MB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.981, allocations: 0 / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/0.9817, allocations: 174.2 kB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004218/0.9822, allocations: 72.41 kB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/0.9822, allocations: 27.67 kB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.9838, allocations: 1.667 MB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9838, allocations: 0.75 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.9864, allocations: 1.123 MB / 1.271 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/0.9868, allocations: 286.9 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.9869, allocations: 22.41 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007862/0.9877, allocations: 82.33 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.9879, allocations: 75.55 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.042e-05/0.988, allocations: 37.5 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006583/0.9887, allocations: 468.1 kB / 1.272 GB, free: 168.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9887, allocations: 1.688 kB / 1.272 GB, free: 168.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009783/0.9897, allocations: 329.2 kB / 1.272 GB, free: 168 MB / 1.014 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 (97): * Single equations (assignments): 91 * 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.004384/0.994, allocations: 2.18 MB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002258/0.9963, allocations: 0.9147 MB / 1.275 GB, free: 166.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.9963, allocations: 1.281 kB / 1.275 GB, free: 166.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.9975, allocations: 0.5814 MB / 1.275 GB, free: 166.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.9988, allocations: 295.8 kB / 1.276 GB, free: 166.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/1.011, allocations: 6.866 MB / 1.282 GB, free: 162.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/1.012, allocations: 1.049 MB / 1.283 GB, free: 162.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001015/1.013, allocations: 283.9 kB / 1.284 GB, free: 162.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/1.014, allocations: 423.6 kB / 1.284 GB, free: 161.8 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.014, allocations: 1.312 kB / 1.284 GB, free: 161.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05453/1.068, allocations: 22.24 MB / 1.306 GB, free: 154 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.87, allocations: 14.58 kB / 1.306 GB, free: 154 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_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_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches