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.001191/0.001191, 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.0009564/0.0009563, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.181/1.181, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.09/2.09, allocations: 390.2 MB / 0.6647 GB, free: 496 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.5161, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004592/0.5208, allocations: 4.423 MB / 0.954 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1399/0.6607, allocations: 150.6 MB / 1.101 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000839/0.6616, allocations: 15.94 kB / 1.101 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006803/0.6623, allocations: 182.3 kB / 1.101 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.6642, allocations: 0.5053 MB / 1.102 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.6663, allocations: 0.8471 MB / 1.103 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.6678, allocations: 1.332 MB / 1.104 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009319/0.6687, allocations: 0.7039 MB / 1.105 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006548/0.6694, allocations: 0.4944 MB / 1.105 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005047/0.6699, allocations: 0.5328 MB / 1.106 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.6701, allocations: 128 kB / 1.106 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007995/0.6709, allocations: 475.6 kB / 1.106 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.6711, allocations: 319 kB / 1.106 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004171/0.6715, allocations: 0.5907 MB / 1.107 GB, free: 140 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.673, allocations: 1.671 MB / 1.109 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.6731, allocations: 8 kB / 1.109 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6731, allocations: 0 / 1.109 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.6731, allocations: 0 / 1.109 GB, free: 14.45 MB / 0.8731 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.002271/0.6754, allocations: 1.485 MB / 1.11 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.6754, allocations: 8.031 kB / 1.11 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.6756, allocations: 152.3 kB / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.6772, allocations: 303.2 kB / 1.111 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.6781, allocations: 0.777 MB / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.6782, allocations: 74 kB / 1.111 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.6783, allocations: 88 kB / 1.111 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.68, allocations: 1.074 MB / 1.113 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.68, allocations: 7.938 kB / 1.113 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.499e-05/0.6801, allocations: 36 kB / 1.113 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.6802, allocations: 24 kB / 1.113 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.6823, allocations: 1.264 MB / 1.114 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003916/0.6862, allocations: 2.723 MB / 1.117 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.6886, allocations: 1.017 MB / 1.117 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007374/0.6894, allocations: 366.6 kB / 1.118 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.845e-05/0.6895, allocations: 34.47 kB / 1.118 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.6905, allocations: 0.5511 MB / 1.118 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.645e-06/0.6905, allocations: 7.938 kB / 1.118 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.00371/0.6943, allocations: 1.38 MB / 1.12 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/0.6944, allocations: 192.9 kB / 1.12 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007364/0.6951, allocations: 0.6372 MB / 1.121 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.6952, allocations: 41.7 kB / 1.121 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.6955, allocations: 428.2 kB / 1.121 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.6957, allocations: 276 kB / 1.121 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.6959, allocations: 150.5 kB / 1.121 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6961, allocations: 390.7 kB / 1.122 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007017/0.6968, allocations: 297.8 kB / 1.122 GB, free: 372 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008157/0.6976, allocations: 422.4 kB / 1.122 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.6991, allocations: 0.6867 MB / 1.123 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6991, allocations: 3.938 kB / 1.123 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002271/0.7014, allocations: 0.9072 MB / 1.124 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.7014, allocations: 8.938 kB / 1.124 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.7014, allocations: 0 / 1.124 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005937/0.702, allocations: 84.86 kB / 1.124 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/0.7028, allocations: 183.7 kB / 1.124 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.7047, allocations: 1.622 MB / 1.126 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007842/0.7055, allocations: 115.4 kB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.7055, allocations: 27.98 kB / 1.126 GB, free: 12.12 MB / 0.8887 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.0004103/0.706, allocations: 273.6 kB / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.7061, allocations: 82.97 kB / 1.126 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/0.7088, allocations: 1.218 MB / 1.128 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.7089, allocations: 12 kB / 1.128 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.7089, allocations: 0 / 1.128 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.7089, allocations: 3.984 kB / 1.128 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.7124, allocations: 2.152 MB / 1.13 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.7124, allocations: 0 / 1.13 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007179/0.7132, allocations: 175.7 kB / 1.13 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/0.7136, allocations: 72.73 kB / 1.13 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.7137, allocations: 27.97 kB / 1.13 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.7154, allocations: 1.666 MB / 1.132 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7154, allocations: 4.062 kB / 1.132 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.7178, allocations: 1.121 MB / 1.133 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.7182, allocations: 275.7 kB / 1.133 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.7183, allocations: 20 kB / 1.133 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008115/0.7192, allocations: 87.91 kB / 1.133 GB, free: 4.684 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.7193, allocations: 76.83 kB / 1.133 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.206e-05/0.7194, allocations: 35.98 kB / 1.133 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005717/0.72, allocations: 471 kB / 1.134 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.72, allocations: 0 / 1.134 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008301/0.7208, allocations: 327.1 kB / 1.134 GB, free: 3.793 MB / 0.8887 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.003813/0.7246, allocations: 2.169 MB / 1.136 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002743/0.7274, allocations: 1.132 MB / 1.137 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7274, allocations: 8 kB / 1.137 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.7285, allocations: 0.5782 MB / 1.138 GB, free: 36 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.7298, allocations: 301.8 kB / 1.138 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.7419, allocations: 7.076 MB / 1.145 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.7425, allocations: 1.051 MB / 1.146 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009094/0.7434, allocations: 282.8 kB / 1.146 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/0.744, allocations: 423.2 kB / 1.147 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of SimCode: time 5.01e-07/0.744, allocations: 0 / 1.147 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04827/0.7923, allocations: 21.97 MB / 1.168 GB, free: 1.137 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.2, allocations: 8.297 kB / 1.168 GB, free: 1.125 MB / 0.92 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