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.001531/0.001531, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.002205/0.002205, allocations: 214.7 kB / 22.25 MB, free: 5.129 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.562/1.562, allocations: 230.6 MB / 256 MB, free: 7.984 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.309/3.309, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] 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.002035/0.002035, allocations: 69.17 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3574, allocations: 176.1 MB / 1.326 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008294/0.3657, allocations: 5.267 MB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1976/0.5632, allocations: 154.2 MB / 1.482 GB, free: 1.934 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.5643, allocations: 27.81 kB / 1.482 GB, free: 1.906 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009087/0.5652, allocations: 210.1 kB / 1.482 GB, free: 1.699 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.5675, allocations: 0.5803 MB / 1.482 GB, free: 1.117 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.5699, allocations: 0.8921 MB / 1.483 GB, free: 236 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.5721, allocations: 1.483 MB / 1.485 GB, free: 14.74 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009471/0.5731, allocations: 482.3 kB / 1.485 GB, free: 14.24 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000898/0.574, allocations: 0.549 MB / 1.486 GB, free: 13.69 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008202/0.5748, allocations: 0.5679 MB / 1.486 GB, free: 13.12 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.575, allocations: 128 kB / 1.486 GB, free: 12.99 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.5762, allocations: 0.5231 MB / 1.487 GB, free: 12.47 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003319/0.5765, allocations: 330.9 kB / 1.487 GB, free: 12.14 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006681/0.5772, allocations: 0.6218 MB / 1.488 GB, free: 11.52 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002806/0.58, allocations: 1.809 MB / 1.49 GB, free: 9.703 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.58, allocations: 0 / 1.49 GB, free: 9.703 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.633e-06/0.58, allocations: 0 / 1.49 GB, free: 9.703 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.814e-05/0.58, allocations: 0 / 1.49 GB, free: 9.703 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.003023/0.583, allocations: 1.504 MB / 1.491 GB, free: 8.164 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.5831, allocations: 8.031 kB / 1.491 GB, free: 8.156 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.5833, allocations: 148.3 kB / 1.491 GB, free: 8.004 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/0.5858, allocations: 371.8 kB / 1.492 GB, free: 7.641 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.5872, allocations: 0.7452 MB / 1.492 GB, free: 6.867 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.5873, allocations: 74 kB / 1.492 GB, free: 6.793 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.5875, allocations: 92 kB / 1.492 GB, free: 6.703 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.5896, allocations: 1.074 MB / 1.493 GB, free: 5.594 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.5896, allocations: 3.984 kB / 1.493 GB, free: 5.59 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.565e-05/0.5897, allocations: 36 kB / 1.494 GB, free: 5.555 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.5897, allocations: 24 kB / 1.494 GB, free: 5.531 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.5922, allocations: 1.272 MB / 1.495 GB, free: 4.254 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005361/0.5976, allocations: 3.017 MB / 1.498 GB, free: 1.09 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.6002, allocations: 0.8989 MB / 1.499 GB, free: 188 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008084/0.601, allocations: 342.6 kB / 1.499 GB, free: 15.85 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.813e-05/0.6011, allocations: 38.47 kB / 1.499 GB, free: 15.81 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/0.6022, allocations: 0.5549 MB / 1.5 GB, free: 15.25 MB / 1.201 GB Notification: Performance of pre-optimization done (n=84): time 2.665e-06/0.6023, allocations: 4 kB / 1.5 GB, free: 15.24 MB / 1.201 GB Notification: Performance of matching and sorting (n=84): time 0.004215/0.6065, allocations: 1.317 MB / 1.501 GB, free: 13.91 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.6066, allocations: 192.9 kB / 1.501 GB, free: 13.68 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.6076, allocations: 0.6646 MB / 1.502 GB, free: 13.01 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.6077, allocations: 41.7 kB / 1.502 GB, free: 12.96 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.6081, allocations: 444.9 kB / 1.502 GB, free: 12.52 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.6084, allocations: 281.6 kB / 1.502 GB, free: 12.25 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.6087, allocations: 154.6 kB / 1.503 GB, free: 12.09 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.6089, allocations: 390.8 kB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007627/0.6097, allocations: 297.8 kB / 1.503 GB, free: 11.41 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008692/0.6105, allocations: 422.5 kB / 1.504 GB, free: 10.97 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.6121, allocations: 0.6906 MB / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-06/0.6121, allocations: 0 / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002567/0.6147, allocations: 0.9349 MB / 1.505 GB, free: 9.32 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.6147, allocations: 4 kB / 1.505 GB, free: 9.316 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6147, allocations: 4 kB / 1.505 GB, free: 9.312 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/0.6153, allocations: 80.88 kB / 1.505 GB, free: 9.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008245/0.6162, allocations: 179.7 kB / 1.505 GB, free: 9.055 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.6185, allocations: 1.541 MB / 1.507 GB, free: 7.395 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009887/0.6195, allocations: 107.5 kB / 1.507 GB, free: 7.289 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.004e-05/0.6196, allocations: 40.03 kB / 1.507 GB, free: 7.25 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.0005812/0.6201, allocations: 261.7 kB / 1.507 GB, free: 6.984 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.6204, allocations: 91.62 kB / 1.507 GB, free: 6.895 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/0.6234, allocations: 1.21 MB / 1.509 GB, free: 5.668 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.6234, allocations: 8 kB / 1.509 GB, free: 5.66 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6234, allocations: 3.984 kB / 1.509 GB, free: 5.656 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.6234, allocations: 3.984 kB / 1.509 GB, free: 5.652 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004245/0.6277, allocations: 2.132 MB / 1.511 GB, free: 3.465 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.6277, allocations: 3.984 kB / 1.511 GB, free: 3.461 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007859/0.6285, allocations: 171.8 kB / 1.511 GB, free: 3.293 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/0.6289, allocations: 80.7 kB / 1.511 GB, free: 3.211 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.118e-05/0.629, allocations: 27.97 kB / 1.511 GB, free: 3.184 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.6311, allocations: 1.555 MB / 1.512 GB, free: 1.512 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6311, allocations: 0 / 1.512 GB, free: 1.512 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.6338, allocations: 1.123 MB / 1.514 GB, free: 376 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005579/0.6343, allocations: 211.1 kB / 1.514 GB, free: 164 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.6345, allocations: 23.89 kB / 1.514 GB, free: 140 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000807/0.6353, allocations: 83.91 kB / 1.514 GB, free: 56 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.6355, allocations: 80.8 kB / 1.514 GB, free: 15.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-05/0.6356, allocations: 39.97 kB / 1.514 GB, free: 15.94 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006954/0.6362, allocations: 487 kB / 1.514 GB, free: 15.47 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6362, allocations: 4 kB / 1.514 GB, free: 15.46 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001012/0.6373, allocations: 343.1 kB / 1.515 GB, free: 15.13 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.004899/0.6422, allocations: 2.187 MB / 1.517 GB, free: 13.1 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002282/0.6444, allocations: 0.8899 MB / 1.518 GB, free: 12.2 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.6444, allocations: 4 kB / 1.518 GB, free: 12.2 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.6457, allocations: 0.5509 MB / 1.518 GB, free: 11.63 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.6471, allocations: 305.3 kB / 1.519 GB, free: 11.35 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.6607, allocations: 6.823 MB / 1.525 GB, free: 4.371 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008851/0.6616, allocations: 1.057 MB / 1.526 GB, free: 3.285 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001095/0.6627, allocations: 290.9 kB / 1.527 GB, free: 2.996 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000746/0.6635, allocations: 431.2 kB / 1.527 GB, free: 2.574 MB / 1.217 GB Notification: Performance of SimCode: time 1.122e-06/0.6635, allocations: 0 / 1.527 GB, free: 2.574 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06843/0.7319, allocations: 23.64 MB / 1.55 GB, free: 11.18 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.13, allocations: 15.98 kB / 1.55 GB, free: 11.16 MB / 1.248 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 & /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: 22.313923893962055]