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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001521/0.001521, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.166/1.166, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.399/2.399, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.73 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2293, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005924/0.2352, allocations: 5.17 MB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1325/0.3677, allocations: 150.7 MB / 1.216 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007201/0.3685, allocations: 15.94 kB / 1.216 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006065/0.3691, allocations: 210.1 kB / 1.216 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.3708, allocations: 0.5643 MB / 1.217 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.3726, allocations: 0.848 MB / 1.217 GB, free: 412 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.3739, allocations: 1.456 MB / 1.219 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008448/0.3748, allocations: 0.6498 MB / 1.219 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006066/0.3754, allocations: 0.5139 MB / 1.22 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006221/0.3761, allocations: 0.5562 MB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.3763, allocations: 128 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007529/0.377, allocations: 471.7 kB / 1.221 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.3773, allocations: 330.9 kB / 1.221 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005108/0.3778, allocations: 0.6142 MB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.3794, allocations: 1.706 MB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3795, allocations: 0 / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3795, allocations: 0 / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.058e-05/0.3795, allocations: 0 / 1.224 GB, free: 9.953 MB / 0.9825 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.002387/0.3819, allocations: 1.516 MB / 1.225 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.3819, allocations: 16.03 kB / 1.225 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.3821, allocations: 152.3 kB / 1.225 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.3836, allocations: 307.2 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000906/0.3846, allocations: 0.7691 MB / 1.226 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/0.3846, allocations: 70 kB / 1.226 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.3847, allocations: 96 kB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.3865, allocations: 1.07 MB / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3865, allocations: 0 / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/0.3866, allocations: 44 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.3866, allocations: 24 kB / 1.228 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.3888, allocations: 1.264 MB / 1.229 GB, free: 4.504 MB / 0.9825 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.00402/0.3928, allocations: 2.982 MB / 1.232 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/0.3952, allocations: 1.032 MB / 1.233 GB, free: 344 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007392/0.396, allocations: 362.6 kB / 1.233 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.46e-05/0.3961, allocations: 34.48 kB / 1.233 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.3971, allocations: 0.5626 MB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 2.053e-06/0.3971, allocations: 0 / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.003616/0.4008, allocations: 1.38 MB / 1.235 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/0.4009, allocations: 192.9 kB / 1.235 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/0.4015, allocations: 0.641 MB / 1.236 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.4016, allocations: 45.64 kB / 1.236 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.4019, allocations: 428.2 kB / 1.236 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.4021, allocations: 276 kB / 1.237 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.4023, allocations: 150.5 kB / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4024, allocations: 390.7 kB / 1.237 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007056/0.4031, allocations: 301.8 kB / 1.237 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007982/0.4039, allocations: 418.5 kB / 1.238 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.4054, allocations: 0.6866 MB / 1.238 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4054, allocations: 0 / 1.238 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002183/0.4076, allocations: 0.9229 MB / 1.239 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4076, allocations: 8 kB / 1.239 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.4076, allocations: 0 / 1.239 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/0.4082, allocations: 84.86 kB / 1.239 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.409, allocations: 171.8 kB / 1.24 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.4108, allocations: 1.64 MB / 1.241 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/0.4115, allocations: 115.1 kB / 1.241 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.4116, allocations: 27.98 kB / 1.241 GB, free: 7.238 MB / 0.9981 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.0003309/0.4119, allocations: 277.9 kB / 1.242 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.4121, allocations: 82.97 kB / 1.242 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/0.4148, allocations: 1.214 MB / 1.243 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.4149, allocations: 12 kB / 1.243 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.4149, allocations: 0 / 1.243 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.4149, allocations: 3.984 kB / 1.243 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003421/0.4183, allocations: 2.143 MB / 1.245 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.4183, allocations: 3.984 kB / 1.245 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.419, allocations: 171.8 kB / 1.245 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004117/0.4195, allocations: 72.78 kB / 1.245 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.4195, allocations: 23.98 kB / 1.245 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.4213, allocations: 1.666 MB / 1.247 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4213, allocations: 0 / 1.247 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.4236, allocations: 1.113 MB / 1.248 GB, free: 220 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3948/0.8184, allocations: 285.5 kB / 1.248 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.8187, allocations: 19.38 kB / 1.248 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009667/0.8197, allocations: 81.83 kB / 1.248 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.8199, allocations: 78.14 kB / 1.248 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.115e-05/0.82, allocations: 40.11 kB / 1.248 GB, free: 186 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006547/0.8206, allocations: 468.9 kB / 1.249 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8207, allocations: 0.9062 kB / 1.249 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009908/0.8217, allocations: 343.3 kB / 1.249 GB, free: 185.9 MB / 0.9981 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.003858/0.8255, allocations: 2.172 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00285/0.8284, allocations: 1.137 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.8284, allocations: 4.906 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.8295, allocations: 0.5788 MB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.8308, allocations: 312.5 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009643/0.8404, allocations: 6.984 MB / 1.26 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.8408, allocations: 1.05 MB / 1.261 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008533/0.8417, allocations: 282.2 kB / 1.261 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004881/0.8422, allocations: 422.8 kB / 1.262 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.8422, allocations: 0 / 1.262 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04607/0.8883, allocations: 22.43 MB / 1.284 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/11.11, allocations: 11.52 kB / 1.284 GB, free: 175.6 MB / 0.9981 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 50 --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