Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_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.004771/0.004777, allocations: 101.4 kB / 15.73 MB, free: 6.004 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.001279/0.001279, allocations: 193.7 kB / 16.67 MB, free: 5.922 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.39/1.39, 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 12.0.0-master/package.mo): time 2.807/2.807, allocations: 482.4 MB / 0.7548 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.69 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2773, allocations: 162.2 MB / 1.241 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007037/0.2843, allocations: 5.176 MB / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1715/0.4559, allocations: 150.7 MB / 1.394 GB, free: 12.82 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000789/0.4567, allocations: 15.94 kB / 1.394 GB, free: 12.81 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007208/0.4574, allocations: 198.1 kB / 1.394 GB, free: 12.61 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.4594, allocations: 0.574 MB / 1.394 GB, free: 12.04 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.4615, allocations: 0.8554 MB / 1.395 GB, free: 11.19 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001811/0.4633, allocations: 1.452 MB / 1.397 GB, free: 9.734 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009937/0.4643, allocations: 0.6653 MB / 1.397 GB, free: 9.035 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006995/0.465, allocations: 0.5139 MB / 1.398 GB, free: 8.52 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006924/0.4657, allocations: 0.5523 MB / 1.398 GB, free: 7.965 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.4659, allocations: 128 kB / 1.398 GB, free: 7.84 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009368/0.4669, allocations: 0.4996 MB / 1.399 GB, free: 7.34 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.4672, allocations: 319 kB / 1.399 GB, free: 7.027 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006124/0.4678, allocations: 0.6102 MB / 1.4 GB, free: 6.414 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.4699, allocations: 1.763 MB / 1.402 GB, free: 4.645 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4699, allocations: 0 / 1.402 GB, free: 4.645 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4699, allocations: 0 / 1.402 GB, free: 4.645 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.47, allocations: 0 / 1.402 GB, free: 4.645 MB / 1.123 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.002717/0.4727, allocations: 1.553 MB / 1.403 GB, free: 3.039 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.4727, allocations: 12.03 kB / 1.403 GB, free: 3.027 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.4729, allocations: 148.3 kB / 1.403 GB, free: 2.875 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.4747, allocations: 315.9 kB / 1.404 GB, free: 2.566 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.4759, allocations: 0.7932 MB / 1.404 GB, free: 1.73 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/0.476, allocations: 70 kB / 1.404 GB, free: 1.664 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.4761, allocations: 96 kB / 1.404 GB, free: 1.57 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.4782, allocations: 1.066 MB / 1.406 GB, free: 476 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.4782, allocations: 0 / 1.406 GB, free: 476 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.4783, allocations: 47.98 kB / 1.406 GB, free: 428 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.4783, allocations: 20 kB / 1.406 GB, free: 408 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.4809, allocations: 1.268 MB / 1.407 GB, free: 15.13 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004806/0.4858, allocations: 3.064 MB / 1.41 GB, free: 11.91 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.4886, allocations: 1.032 MB / 1.411 GB, free: 10.86 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008865/0.4895, allocations: 366.6 kB / 1.411 GB, free: 10.5 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.501e-05/0.4896, allocations: 34.48 kB / 1.411 GB, free: 10.46 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.4909, allocations: 0.5665 MB / 1.412 GB, free: 9.875 MB / 1.139 GB Notification: Performance of pre-optimization done (n=84): time 2.375e-06/0.4909, allocations: 0 / 1.412 GB, free: 9.875 MB / 1.139 GB Notification: Performance of matching and sorting (n=84): time 0.004253/0.4952, allocations: 1.38 MB / 1.413 GB, free: 8.473 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.4953, allocations: 196.9 kB / 1.413 GB, free: 8.238 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008388/0.4961, allocations: 0.6371 MB / 1.414 GB, free: 7.598 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.242e-05/0.4962, allocations: 49.69 kB / 1.414 GB, free: 7.543 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.4966, allocations: 433 kB / 1.414 GB, free: 7.113 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.4969, allocations: 281.6 kB / 1.415 GB, free: 6.836 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.4971, allocations: 150.6 kB / 1.415 GB, free: 6.68 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.4974, allocations: 398.7 kB / 1.415 GB, free: 6.281 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008106/0.4982, allocations: 293.8 kB / 1.415 GB, free: 5.996 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009476/0.4991, allocations: 426.6 kB / 1.416 GB, free: 5.551 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.5009, allocations: 0.6906 MB / 1.417 GB, free: 4.848 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5009, allocations: 0 / 1.417 GB, free: 4.848 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002555/0.5035, allocations: 0.9271 MB / 1.417 GB, free: 3.914 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5035, allocations: 4 kB / 1.417 GB, free: 3.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5035, allocations: 4.094 kB / 1.417 GB, free: 3.906 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.5041, allocations: 80.77 kB / 1.418 GB, free: 3.824 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008504/0.505, allocations: 179.8 kB / 1.418 GB, free: 3.648 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.5073, allocations: 1.637 MB / 1.419 GB, free: 1.867 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/0.5082, allocations: 115.5 kB / 1.419 GB, free: 1.754 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.5082, allocations: 31.98 kB / 1.419 GB, free: 1.723 MB / 1.139 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.0004029/0.5087, allocations: 273.1 kB / 1.42 GB, free: 1.449 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.5088, allocations: 87.44 kB / 1.42 GB, free: 1.363 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/0.512, allocations: 1.21 MB / 1.421 GB, free: 136 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.5121, allocations: 8 kB / 1.421 GB, free: 128 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.5121, allocations: 0 / 1.421 GB, free: 128 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.5121, allocations: 3.984 kB / 1.421 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004145/0.5162, allocations: 2.148 MB / 1.423 GB, free: 13.91 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5163, allocations: 0 / 1.423 GB, free: 13.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/0.5171, allocations: 171.8 kB / 1.423 GB, free: 13.74 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004746/0.5176, allocations: 80.77 kB / 1.423 GB, free: 13.66 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/0.5176, allocations: 27.98 kB / 1.423 GB, free: 13.63 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.5197, allocations: 1.662 MB / 1.425 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5198, allocations: 0 / 1.425 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.5225, allocations: 1.119 MB / 1.426 GB, free: 10.69 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003831/0.5229, allocations: 284.1 kB / 1.426 GB, free: 10.39 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.523, allocations: 27.94 kB / 1.426 GB, free: 10.37 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008314/0.5239, allocations: 79.91 kB / 1.426 GB, free: 10.29 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.524, allocations: 84.83 kB / 1.427 GB, free: 10.21 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.029e-05/0.5241, allocations: 35.97 kB / 1.427 GB, free: 10.17 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006262/0.5248, allocations: 471 kB / 1.427 GB, free: 9.715 MB / 1.154 GB Notification: Performance of sort global known variables: time 2e-07/0.5248, allocations: 0 / 1.427 GB, free: 9.715 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008506/0.5256, allocations: 335.1 kB / 1.427 GB, free: 9.387 MB / 1.154 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.004869/0.5305, allocations: 2.178 MB / 1.429 GB, free: 7.367 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002266/0.5328, allocations: 0.9173 MB / 1.43 GB, free: 6.438 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5328, allocations: 0 / 1.43 GB, free: 6.438 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.5341, allocations: 0.5822 MB / 1.431 GB, free: 5.84 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.5354, allocations: 311.3 kB / 1.431 GB, free: 5.555 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.5481, allocations: 6.764 MB / 1.438 GB, free: 14.64 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/0.5489, allocations: 1.047 MB / 1.439 GB, free: 13.56 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008987/0.5498, allocations: 282.8 kB / 1.439 GB, free: 13.28 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006556/0.5504, allocations: 423.3 kB / 1.439 GB, free: 12.86 MB / 1.17 GB Notification: Performance of SimCode: time 4.6e-07/0.5504, allocations: 0 / 1.439 GB, free: 12.86 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05857/0.609, allocations: 22.68 MB / 1.462 GB, free: 6.57 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.47, allocations: 448 / 1.462 GB, free: 6.57 MB / 1.186 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches