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.001676/0.001676, allocations: 111 kB / 16.46 MB, free: 6.453 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.001956/0.001956, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.447/1.447, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.093/3.093, allocations: 0.49 GB / 0.7916 GB, free: 33.27 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.002096/0.002096, allocations: 71.02 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3625, allocations: 176.1 MB / 1.321 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007998/0.3705, allocations: 5.235 MB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1927/0.5632, allocations: 154 MB / 1.476 GB, free: 3.488 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.5642, allocations: 23.81 kB / 1.476 GB, free: 3.465 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.5649, allocations: 214 kB / 1.477 GB, free: 3.254 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.5669, allocations: 0.5757 MB / 1.477 GB, free: 2.68 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.5691, allocations: 0.8686 MB / 1.478 GB, free: 1.816 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.5709, allocations: 1.487 MB / 1.479 GB, free: 332 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008885/0.5718, allocations: 477.6 kB / 1.48 GB, free: 15.83 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008427/0.5727, allocations: 0.5528 MB / 1.48 GB, free: 15.28 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007059/0.5734, allocations: 0.5656 MB / 1.481 GB, free: 14.71 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.5736, allocations: 132 kB / 1.481 GB, free: 14.58 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.5748, allocations: 0.523 MB / 1.482 GB, free: 14.06 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.5751, allocations: 334.9 kB / 1.482 GB, free: 13.73 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005903/0.5757, allocations: 0.6141 MB / 1.483 GB, free: 13.11 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002414/0.5781, allocations: 1.809 MB / 1.484 GB, free: 11.3 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5781, allocations: 0 / 1.484 GB, free: 11.3 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5781, allocations: 0 / 1.484 GB, free: 11.3 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.14e-05/0.5782, allocations: 0 / 1.484 GB, free: 11.3 MB / 1.186 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.003004/0.5812, allocations: 1.584 MB / 1.486 GB, free: 9.66 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5812, allocations: 11.98 kB / 1.486 GB, free: 9.648 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/0.5814, allocations: 160.3 kB / 1.486 GB, free: 9.484 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.5839, allocations: 363.8 kB / 1.486 GB, free: 9.129 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.5852, allocations: 0.8058 MB / 1.487 GB, free: 8.281 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/0.5852, allocations: 70 kB / 1.487 GB, free: 8.211 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.5854, allocations: 96 kB / 1.487 GB, free: 8.117 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.5874, allocations: 1.07 MB / 1.488 GB, free: 7.012 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.5874, allocations: 4 kB / 1.488 GB, free: 7.008 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.5875, allocations: 40 kB / 1.488 GB, free: 6.969 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.5876, allocations: 24 kB / 1.488 GB, free: 6.945 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.5902, allocations: 1.268 MB / 1.49 GB, free: 5.672 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005197/0.5954, allocations: 3.079 MB / 1.493 GB, free: 2.441 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.5981, allocations: 0.977 MB / 1.494 GB, free: 1.441 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008291/0.599, allocations: 342.6 kB / 1.494 GB, free: 1.105 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.181e-05/0.5991, allocations: 34.47 kB / 1.494 GB, free: 1.074 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.6002, allocations: 0.5525 MB / 1.494 GB, free: 0.5 MB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 2.835e-06/0.6002, allocations: 0 / 1.494 GB, free: 0.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.004198/0.6044, allocations: 1.392 MB / 1.496 GB, free: 15.08 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.6046, allocations: 188.9 kB / 1.496 GB, free: 14.86 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009824/0.6056, allocations: 0.6646 MB / 1.497 GB, free: 14.18 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.033e-05/0.6056, allocations: 41.7 kB / 1.497 GB, free: 14.14 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.6061, allocations: 449 kB / 1.497 GB, free: 13.69 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.6063, allocations: 285.5 kB / 1.497 GB, free: 13.41 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.6066, allocations: 154.6 kB / 1.498 GB, free: 13.25 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.6068, allocations: 386.8 kB / 1.498 GB, free: 12.87 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007863/0.6076, allocations: 309.8 kB / 1.498 GB, free: 12.57 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000928/0.6085, allocations: 418.5 kB / 1.499 GB, free: 12.13 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.6102, allocations: 0.6906 MB / 1.499 GB, free: 11.43 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6102, allocations: 0 / 1.499 GB, free: 11.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002623/0.6128, allocations: 0.9272 MB / 1.5 GB, free: 10.49 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6128, allocations: 4 kB / 1.5 GB, free: 10.49 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6129, allocations: 0 / 1.5 GB, free: 10.49 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006385/0.6135, allocations: 84.81 kB / 1.5 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/0.6143, allocations: 175.8 kB / 1.5 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.6166, allocations: 1.634 MB / 1.502 GB, free: 8.445 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008765/0.6174, allocations: 115.5 kB / 1.502 GB, free: 8.332 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.844e-05/0.6175, allocations: 35.97 kB / 1.502 GB, free: 8.297 MB / 1.201 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.0004813/0.618, allocations: 277.3 kB / 1.502 GB, free: 8.02 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.6182, allocations: 91.42 kB / 1.503 GB, free: 7.93 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/0.6213, allocations: 1.206 MB / 1.504 GB, free: 6.707 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.6213, allocations: 12 kB / 1.504 GB, free: 6.695 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6213, allocations: 3.938 kB / 1.504 GB, free: 6.691 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.6213, allocations: 7.984 kB / 1.504 GB, free: 6.684 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0041/0.6254, allocations: 2.156 MB / 1.506 GB, free: 4.465 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.6254, allocations: 0 / 1.506 GB, free: 4.465 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.6262, allocations: 171.8 kB / 1.506 GB, free: 4.297 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004536/0.6266, allocations: 72.8 kB / 1.506 GB, free: 4.223 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.288e-05/0.6267, allocations: 27.97 kB / 1.506 GB, free: 4.195 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.6287, allocations: 1.666 MB / 1.508 GB, free: 2.387 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6287, allocations: 0 / 1.508 GB, free: 2.387 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.6315, allocations: 1.127 MB / 1.509 GB, free: 1.238 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004993/0.632, allocations: 292.1 kB / 1.509 GB, free: 0.9336 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.6321, allocations: 16 kB / 1.509 GB, free: 0.918 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008343/0.6329, allocations: 84.05 kB / 1.509 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.6331, allocations: 84.81 kB / 1.509 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.28e-05/0.6332, allocations: 39.97 kB / 1.509 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007048/0.6339, allocations: 483 kB / 1.51 GB, free: 256 kB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/0.6339, allocations: 0 / 1.51 GB, free: 256 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.001061/0.635, allocations: 347.1 kB / 1.51 GB, free: 15.91 MB / 1.217 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.004956/0.6399, allocations: 2.178 MB / 1.512 GB, free: 13.89 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002416/0.6423, allocations: 0.8861 MB / 1.513 GB, free: 12.99 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6424, allocations: 0 / 1.513 GB, free: 12.99 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.6436, allocations: 0.5587 MB / 1.514 GB, free: 12.42 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.645, allocations: 302.8 kB / 1.514 GB, free: 12.14 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.658, allocations: 6.848 MB / 1.521 GB, free: 5.141 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/0.6587, allocations: 1.051 MB / 1.522 GB, free: 4.059 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009272/0.6597, allocations: 287 kB / 1.522 GB, free: 3.773 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006909/0.6604, allocations: 427.3 kB / 1.522 GB, free: 3.355 MB / 1.217 GB Notification: Performance of SimCode: time 1.313e-06/0.6604, allocations: 0 / 1.522 GB, free: 3.355 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08081/0.7412, allocations: 23.06 MB / 1.545 GB, free: 12.59 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.23, allocations: 13.72 kB / 1.545 GB, free: 12.58 MB / 1.248 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 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.mat","/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.0086443729233]