Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 103.6 kB / 18.95 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002721/0.002721, allocations: 214.3 kB / 22.24 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.126/3.126, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 61.62 kB / 1.153 GB, free: 25.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3075, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007113/0.3146, allocations: 4.693 MB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.167/0.4815, allocations: 132.7 MB / 1.459 GB, free: 8.41 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007946/0.4823, allocations: 23.81 kB / 1.459 GB, free: 8.387 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006306/0.483, allocations: 210.1 kB / 1.459 GB, free: 8.18 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.4848, allocations: 0.5826 MB / 1.46 GB, free: 7.598 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.4869, allocations: 0.8818 MB / 1.461 GB, free: 6.723 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002067/0.4889, allocations: 1.479 MB / 1.462 GB, free: 5.238 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009596/0.4899, allocations: 454.4 kB / 1.463 GB, free: 4.762 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000969/0.4909, allocations: 0.5451 MB / 1.463 GB, free: 4.215 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007502/0.4916, allocations: 0.5054 MB / 1.464 GB, free: 3.707 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.4918, allocations: 128 kB / 1.464 GB, free: 3.582 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.4929, allocations: 0.4996 MB / 1.464 GB, free: 3.082 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.4932, allocations: 327 kB / 1.465 GB, free: 2.762 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005303/0.4938, allocations: 0.5053 MB / 1.465 GB, free: 2.254 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.4961, allocations: 1.817 MB / 1.467 GB, free: 440 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4961, allocations: 0 / 1.467 GB, free: 440 kB / 1.154 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4961, allocations: 0 / 1.467 GB, free: 440 kB / 1.154 GB Notification: Performance of Transformations before backend: time 2.513e-05/0.4961, allocations: 4 kB / 1.467 GB, free: 436 kB / 1.154 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.003016/0.4992, allocations: 1.501 MB / 1.468 GB, free: 14.89 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4992, allocations: 12.03 kB / 1.468 GB, free: 14.88 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.4994, allocations: 148.3 kB / 1.469 GB, free: 14.72 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/0.5018, allocations: 375.8 kB / 1.469 GB, free: 14.36 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.5033, allocations: 0.7374 MB / 1.47 GB, free: 13.59 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.909e-05/0.5033, allocations: 77.98 kB / 1.47 GB, free: 13.51 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.5035, allocations: 88 kB / 1.47 GB, free: 13.43 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.5058, allocations: 1.321 MB / 1.471 GB, free: 12.01 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.5058, allocations: 0 / 1.471 GB, free: 12.01 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.539e-05/0.5059, allocations: 47.98 kB / 1.471 GB, free: 11.96 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.5059, allocations: 24 kB / 1.471 GB, free: 11.94 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.5084, allocations: 1.221 MB / 1.472 GB, free: 10.71 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004762/0.5132, allocations: 2.405 MB / 1.475 GB, free: 8.246 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002678/0.5158, allocations: 0.8988 MB / 1.476 GB, free: 7.336 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000826/0.5167, allocations: 334.6 kB / 1.476 GB, free: 7.008 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.641e-05/0.5167, allocations: 26.52 kB / 1.476 GB, free: 6.984 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.518, allocations: 0.6592 MB / 1.477 GB, free: 6.285 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.956e-06/0.518, allocations: 3.938 kB / 1.477 GB, free: 6.281 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.004183/0.5222, allocations: 1.313 MB / 1.478 GB, free: 4.961 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.5223, allocations: 192.9 kB / 1.478 GB, free: 4.73 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009415/0.5233, allocations: 0.6685 MB / 1.479 GB, free: 4.055 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.884e-05/0.5234, allocations: 41.7 kB / 1.479 GB, free: 4.008 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.5238, allocations: 445 kB / 1.479 GB, free: 3.566 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.5241, allocations: 281.6 kB / 1.479 GB, free: 3.289 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.5243, allocations: 154.6 kB / 1.48 GB, free: 3.133 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.5245, allocations: 390.7 kB / 1.48 GB, free: 2.742 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007856/0.5253, allocations: 301.8 kB / 1.48 GB, free: 2.445 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009799/0.5263, allocations: 0.5381 MB / 1.481 GB, free: 1.848 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.528, allocations: 0.6906 MB / 1.482 GB, free: 1.148 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.528, allocations: 0 / 1.482 GB, free: 1.148 MB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002635/0.5306, allocations: 0.931 MB / 1.482 GB, free: 212 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.5306, allocations: 5.875 kB / 1.482 GB, free: 208 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.5306, allocations: 3.984 kB / 1.482 GB, free: 204 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/0.5313, allocations: 76.88 kB / 1.482 GB, free: 124 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008345/0.5321, allocations: 183.8 kB / 1.483 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.5344, allocations: 1.527 MB / 1.484 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009008/0.5353, allocations: 115.5 kB / 1.484 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-05/0.5353, allocations: 31.98 kB / 1.484 GB, free: 14.15 MB / 1.186 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.0004917/0.5358, allocations: 267.5 kB / 1.485 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.536, allocations: 87.44 kB / 1.485 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/0.5392, allocations: 1.214 MB / 1.486 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.5392, allocations: 12 kB / 1.486 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.5392, allocations: 0 / 1.486 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5393, allocations: 3.984 kB / 1.486 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004221/0.5435, allocations: 1.999 MB / 1.488 GB, free: 10.49 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.5435, allocations: 0 / 1.488 GB, free: 10.49 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/0.5443, allocations: 179.8 kB / 1.488 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004541/0.5447, allocations: 80.64 kB / 1.488 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.665e-05/0.5448, allocations: 27.98 kB / 1.488 GB, free: 10.21 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.5469, allocations: 1.551 MB / 1.49 GB, free: 8.539 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5469, allocations: 0 / 1.49 GB, free: 8.539 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.5497, allocations: 1.127 MB / 1.491 GB, free: 7.395 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005584/0.5502, allocations: 215 kB / 1.491 GB, free: 7.184 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.5504, allocations: 24.06 kB / 1.491 GB, free: 7.16 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000823/0.5512, allocations: 83.91 kB / 1.491 GB, free: 7.078 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.5513, allocations: 80.8 kB / 1.491 GB, free: 7 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.113e-05/0.5514, allocations: 39.97 kB / 1.491 GB, free: 6.961 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006879/0.5521, allocations: 487 kB / 1.492 GB, free: 6.492 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5521, allocations: 0 / 1.492 GB, free: 6.492 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009733/0.5531, allocations: 343.1 kB / 1.492 GB, free: 6.156 MB / 1.186 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.005022/0.5581, allocations: 2.224 MB / 1.494 GB, free: 4.109 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002317/0.5604, allocations: 0.8938 MB / 1.495 GB, free: 3.207 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5604, allocations: 0 / 1.495 GB, free: 3.207 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.5617, allocations: 0.5509 MB / 1.495 GB, free: 2.641 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.563, allocations: 306.4 kB / 1.496 GB, free: 2.363 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.5765, allocations: 6.831 MB / 1.502 GB, free: 11.38 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.577, allocations: 470.3 kB / 1.503 GB, free: 10.88 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00101/0.578, allocations: 287 kB / 1.503 GB, free: 10.59 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006671/0.5787, allocations: 423.3 kB / 1.504 GB, free: 10.18 MB / 1.201 GB Notification: Performance of SimCode: time 1.443e-06/0.5787, allocations: 0 / 1.504 GB, free: 10.18 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07014/0.6488, allocations: 24.71 MB / 1.528 GB, free: 1.785 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.56, allocations: 0 / 1.528 GB, free: 1.785 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.43496415298432]