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.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.001825/0.001825, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002172/0.002172, allocations: 216 kB / 22.25 MB, free: 4.855 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.229/3.229, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002073/0.002073, allocations: 73.19 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.361, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006841/0.3679, allocations: 4.682 MB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1676/0.5355, allocations: 132.7 MB / 1.498 GB, free: 4.16 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008653/0.5364, allocations: 19.88 kB / 1.498 GB, free: 4.141 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006641/0.537, allocations: 214.1 kB / 1.498 GB, free: 3.93 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.5388, allocations: 0.5838 MB / 1.498 GB, free: 3.348 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.5408, allocations: 0.8748 MB / 1.499 GB, free: 2.477 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001606/0.5424, allocations: 1.487 MB / 1.501 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007886/0.5432, allocations: 462.3 kB / 1.501 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007583/0.5439, allocations: 0.5451 MB / 1.502 GB, free: 15.96 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006716/0.5446, allocations: 0.5054 MB / 1.502 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001958/0.5448, allocations: 131.9 kB / 1.502 GB, free: 15.32 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.5458, allocations: 0.4957 MB / 1.503 GB, free: 14.82 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.5461, allocations: 330.9 kB / 1.503 GB, free: 14.5 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005248/0.5467, allocations: 0.5015 MB / 1.504 GB, free: 14 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.5489, allocations: 1.821 MB / 1.505 GB, free: 12.17 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5489, allocations: 0 / 1.505 GB, free: 12.17 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5489, allocations: 0 / 1.505 GB, free: 12.17 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.549, allocations: 0 / 1.505 GB, free: 12.17 MB / 1.201 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.002805/0.5518, allocations: 1.493 MB / 1.507 GB, free: 10.64 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.5518, allocations: 12.03 kB / 1.507 GB, free: 10.63 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.552, allocations: 156.3 kB / 1.507 GB, free: 10.47 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/0.5544, allocations: 367.8 kB / 1.507 GB, free: 10.11 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.5559, allocations: 0.7413 MB / 1.508 GB, free: 9.34 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.556, allocations: 74 kB / 1.508 GB, free: 9.266 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.5561, allocations: 92 kB / 1.508 GB, free: 9.176 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.5584, allocations: 1.321 MB / 1.509 GB, free: 7.758 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.5584, allocations: 4 kB / 1.509 GB, free: 7.754 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.5585, allocations: 40 kB / 1.51 GB, free: 7.715 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.5586, allocations: 28 kB / 1.51 GB, free: 7.688 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/0.561, allocations: 1.218 MB / 1.511 GB, free: 6.469 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004876/0.5659, allocations: 2.416 MB / 1.513 GB, free: 3.992 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.5686, allocations: 0.8987 MB / 1.514 GB, free: 3.086 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008073/0.5694, allocations: 334.6 kB / 1.514 GB, free: 2.758 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-05/0.5694, allocations: 30.5 kB / 1.514 GB, free: 2.73 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.5707, allocations: 0.6514 MB / 1.515 GB, free: 2.043 MB / 1.201 GB Notification: Performance of pre-optimization done (n=84): time 3.176e-06/0.5707, allocations: 0 / 1.515 GB, free: 2.043 MB / 1.201 GB Notification: Performance of matching and sorting (n=84): time 0.004083/0.5748, allocations: 1.324 MB / 1.516 GB, free: 0.707 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.5749, allocations: 192.9 kB / 1.516 GB, free: 488 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.576, allocations: 0.6646 MB / 1.517 GB, free: 15.8 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.979e-05/0.576, allocations: 41.7 kB / 1.517 GB, free: 15.75 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000408/0.5764, allocations: 444.9 kB / 1.518 GB, free: 15.31 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.5767, allocations: 285.6 kB / 1.518 GB, free: 15.03 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.577, allocations: 150.6 kB / 1.518 GB, free: 14.88 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.5772, allocations: 394.8 kB / 1.518 GB, free: 14.48 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007748/0.5779, allocations: 305.8 kB / 1.519 GB, free: 14.18 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009503/0.5789, allocations: 0.5303 MB / 1.519 GB, free: 13.6 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.5805, allocations: 0.6906 MB / 1.52 GB, free: 12.9 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5805, allocations: 0 / 1.52 GB, free: 12.9 MB / 1.217 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00262/0.5831, allocations: 0.9311 MB / 1.521 GB, free: 11.95 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.5832, allocations: 4 kB / 1.521 GB, free: 11.95 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5832, allocations: 0 / 1.521 GB, free: 11.95 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/0.5838, allocations: 88.86 kB / 1.521 GB, free: 11.86 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/0.5847, allocations: 167.8 kB / 1.521 GB, free: 11.7 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.5868, allocations: 1.531 MB / 1.522 GB, free: 10.04 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008497/0.5877, allocations: 114.5 kB / 1.523 GB, free: 9.934 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.5877, allocations: 35.97 kB / 1.523 GB, free: 9.898 MB / 1.217 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.0005219/0.5883, allocations: 265.7 kB / 1.523 GB, free: 9.629 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.5885, allocations: 95.39 kB / 1.523 GB, free: 9.535 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/0.5915, allocations: 1.206 MB / 1.524 GB, free: 8.316 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.5915, allocations: 12 kB / 1.524 GB, free: 8.305 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5915, allocations: 3.984 kB / 1.524 GB, free: 8.301 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.5915, allocations: 3.984 kB / 1.524 GB, free: 8.297 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004073/0.5956, allocations: 1.996 MB / 1.526 GB, free: 6.246 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5956, allocations: 0 / 1.526 GB, free: 6.246 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000792/0.5964, allocations: 171.8 kB / 1.526 GB, free: 6.078 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.5968, allocations: 68.8 kB / 1.526 GB, free: 6.008 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.646e-05/0.5969, allocations: 31.97 kB / 1.526 GB, free: 5.977 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.5989, allocations: 1.551 MB / 1.528 GB, free: 4.309 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5989, allocations: 0 / 1.528 GB, free: 4.309 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/0.6016, allocations: 1.127 MB / 1.529 GB, free: 3.16 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005632/0.6021, allocations: 215 kB / 1.529 GB, free: 2.949 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.6023, allocations: 19.94 kB / 1.529 GB, free: 2.93 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008184/0.6031, allocations: 83.91 kB / 1.529 GB, free: 2.848 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.6033, allocations: 80.8 kB / 1.529 GB, free: 2.77 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.831e-05/0.6034, allocations: 39.97 kB / 1.529 GB, free: 2.73 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006928/0.6041, allocations: 487 kB / 1.53 GB, free: 2.262 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6041, allocations: 0 / 1.53 GB, free: 2.262 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009678/0.605, allocations: 351 kB / 1.53 GB, free: 1.918 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.005031/0.6101, allocations: 2.217 MB / 1.532 GB, free: 15.88 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002327/0.6124, allocations: 0.886 MB / 1.533 GB, free: 14.98 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.6124, allocations: 4 kB / 1.533 GB, free: 14.98 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.6136, allocations: 0.5509 MB / 1.534 GB, free: 14.41 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.6151, allocations: 307.9 kB / 1.534 GB, free: 14.13 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.6282, allocations: 6.838 MB / 1.541 GB, free: 7.141 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.6287, allocations: 470.3 kB / 1.541 GB, free: 6.645 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009471/0.6296, allocations: 283 kB / 1.541 GB, free: 6.363 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006664/0.6303, allocations: 435.2 kB / 1.542 GB, free: 5.938 MB / 1.232 GB Notification: Performance of SimCode: time 1.202e-06/0.6303, allocations: 0 / 1.542 GB, free: 5.938 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06753/0.6978, allocations: 24.7 MB / 1.566 GB, free: 13.57 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.4, allocations: 17.5 kB / 1.566 GB, free: 13.56 MB / 1.264 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.317245014943182]