Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001283/0.001283, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001442/0.001442, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.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.214/3.214, allocations: 0.49 GB / 0.7951 GB, free: 33.5 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.SkyClearness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.002086/0.002086, allocations: 67.17 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3856, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007589/0.3932, allocations: 5.26 MB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1956/0.5888, allocations: 154.3 MB / 1.482 GB, free: 1.801 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.5898, allocations: 19.88 kB / 1.482 GB, free: 1.781 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006879/0.5905, allocations: 206.1 kB / 1.482 GB, free: 1.578 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.5924, allocations: 0.5892 MB / 1.482 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.5947, allocations: 0.9027 MB / 1.483 GB, free: 92 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.5965, allocations: 1.483 MB / 1.485 GB, free: 14.6 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008082/0.5973, allocations: 468.7 kB / 1.485 GB, free: 14.12 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008244/0.5981, allocations: 0.5528 MB / 1.486 GB, free: 13.56 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007165/0.5988, allocations: 0.5562 MB / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.599, allocations: 128 kB / 1.486 GB, free: 12.88 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.6001, allocations: 0.5386 MB / 1.487 GB, free: 12.34 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.6005, allocations: 327 kB / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005947/0.6011, allocations: 0.6141 MB / 1.488 GB, free: 11.4 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.6035, allocations: 1.809 MB / 1.49 GB, free: 9.586 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6035, allocations: 0 / 1.49 GB, free: 9.586 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6035, allocations: 4 kB / 1.49 GB, free: 9.582 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.971e-05/0.6036, allocations: 0 / 1.49 GB, free: 9.582 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.0029/0.6065, allocations: 1.5 MB / 1.491 GB, free: 8.043 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.6065, allocations: 12.02 kB / 1.491 GB, free: 8.031 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.6067, allocations: 148.2 kB / 1.491 GB, free: 7.879 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.6085, allocations: 275.9 kB / 1.492 GB, free: 7.609 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.61, allocations: 0.7335 MB / 1.492 GB, free: 6.852 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/0.6101, allocations: 77.98 kB / 1.492 GB, free: 6.773 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.6102, allocations: 92 kB / 1.492 GB, free: 6.684 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.612, allocations: 1.012 MB / 1.493 GB, free: 5.633 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.612, allocations: 4 kB / 1.493 GB, free: 5.629 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.6121, allocations: 43.98 kB / 1.493 GB, free: 5.586 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.6121, allocations: 28 kB / 1.493 GB, free: 5.559 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.6142, allocations: 1.179 MB / 1.495 GB, free: 4.375 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/0.619, allocations: 2.989 MB / 1.498 GB, free: 1.234 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.6207, allocations: 0.7996 MB / 1.498 GB, free: 440 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.6213, allocations: 290.7 kB / 1.499 GB, free: 144 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005089/0.6218, allocations: 88.61 kB / 1.499 GB, free: 56 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000956/0.6228, allocations: 0.503 MB / 1.499 GB, free: 15.54 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 1.904e-06/0.6228, allocations: 0 / 1.499 GB, free: 15.54 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.003444/0.6262, allocations: 1.163 MB / 1.5 GB, free: 14.36 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.6263, allocations: 188.6 kB / 1.5 GB, free: 14.14 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009751/0.6273, allocations: 0.6724 MB / 1.501 GB, free: 13.46 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.2e-05/0.6274, allocations: 41.7 kB / 1.501 GB, free: 13.41 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004336/0.6278, allocations: 441 kB / 1.502 GB, free: 12.97 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.6281, allocations: 281.6 kB / 1.502 GB, free: 12.7 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.6284, allocations: 150.6 kB / 1.502 GB, free: 12.54 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.6286, allocations: 386.8 kB / 1.502 GB, free: 12.16 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005472/0.6291, allocations: 257.8 kB / 1.503 GB, free: 11.9 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/0.6298, allocations: 374.5 kB / 1.503 GB, free: 11.51 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.631, allocations: 0.5994 MB / 1.504 GB, free: 10.9 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.631, allocations: 3.984 kB / 1.504 GB, free: 10.9 MB / 1.201 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002051/0.6331, allocations: 0.8335 MB / 1.504 GB, free: 10.05 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.6331, allocations: 8 kB / 1.504 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6331, allocations: 0 / 1.504 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/0.6337, allocations: 84.86 kB / 1.504 GB, free: 9.957 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.6344, allocations: 155.8 kB / 1.505 GB, free: 9.805 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.6367, allocations: 1.537 MB / 1.506 GB, free: 8.152 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007252/0.6374, allocations: 95.56 kB / 1.506 GB, free: 8.059 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.6375, allocations: 27.98 kB / 1.506 GB, free: 8.031 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 (88): * Single equations (assignments): 87 * 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.000523/0.638, allocations: 274.7 kB / 1.507 GB, free: 7.754 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.6382, allocations: 95.38 kB / 1.507 GB, free: 7.66 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.6407, allocations: 1.101 MB / 1.508 GB, free: 6.543 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.6407, allocations: 12 kB / 1.508 GB, free: 6.531 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.6407, allocations: 0 / 1.508 GB, free: 6.531 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.6407, allocations: 3.984 kB / 1.508 GB, free: 6.527 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003612/0.6443, allocations: 1.996 MB / 1.51 GB, free: 4.477 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6443, allocations: 4 kB / 1.51 GB, free: 4.473 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/0.6449, allocations: 147.8 kB / 1.51 GB, free: 4.328 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004455/0.6454, allocations: 72.78 kB / 1.51 GB, free: 4.254 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.6454, allocations: 31.97 kB / 1.51 GB, free: 4.223 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.6475, allocations: 1.555 MB / 1.511 GB, free: 2.547 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6475, allocations: 0 / 1.511 GB, free: 2.547 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.6498, allocations: 1.03 MB / 1.512 GB, free: 1.496 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/0.6504, allocations: 211 kB / 1.513 GB, free: 1.289 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.6505, allocations: 23.98 kB / 1.513 GB, free: 1.266 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/0.6512, allocations: 61.81 kB / 1.513 GB, free: 1.207 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.6513, allocations: 84.78 kB / 1.513 GB, free: 1.125 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.6514, allocations: 31.98 kB / 1.513 GB, free: 1.094 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000675/0.6521, allocations: 491 kB / 1.513 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6521, allocations: 0 / 1.513 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001005/0.6531, allocations: 355 kB / 1.514 GB, free: 280 kB / 1.201 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 (93): * Single equations (assignments): 87 * 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.004406/0.6575, allocations: 2.1 MB / 1.516 GB, free: 14.32 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.6593, allocations: 0.7962 MB / 1.516 GB, free: 13.52 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6593, allocations: 4 kB / 1.516 GB, free: 13.52 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009997/0.6603, allocations: 0.5002 MB / 1.517 GB, free: 13 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.6617, allocations: 301.5 kB / 1.517 GB, free: 12.73 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.6738, allocations: 6.523 MB / 1.524 GB, free: 6.051 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007795/0.6746, allocations: 1.047 MB / 1.525 GB, free: 4.973 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001007/0.6756, allocations: 270.9 kB / 1.525 GB, free: 4.703 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000632/0.6762, allocations: 419.2 kB / 1.525 GB, free: 4.293 MB / 1.217 GB Notification: Performance of SimCode: time 1.022e-06/0.6762, allocations: 0 / 1.525 GB, free: 4.293 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06696/0.7432, allocations: 23.4 MB / 1.548 GB, free: 13.14 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.53, allocations: 9.625 kB / 1.548 GB, free: 13.13 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,skyCle.skyCle Variables in the result:time,skyCle.skyCle,weaBus.HDifHor,weaBus.HDirNor,weaBus.HGloHor,weaBus.HHorIR [Calling sys.exit(0), Time elapsed: 21.61657227700016]