Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00167/0.00167, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001981/0.001981, allocations: 212.3 kB / 22.25 MB, free: 5.086 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.996 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.221/3.221, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_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.002041/0.002041, allocations: 75.86 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4252, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007816/0.433, allocations: 5.259 MB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1947/0.6277, allocations: 154.3 MB / 1.509 GB, free: 8.316 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.6289, allocations: 23.81 kB / 1.509 GB, free: 8.293 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007808/0.6297, allocations: 202.1 kB / 1.509 GB, free: 8.094 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.6321, allocations: 0.5898 MB / 1.509 GB, free: 7.504 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.6347, allocations: 0.9114 MB / 1.51 GB, free: 6.598 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002094/0.6368, allocations: 1.471 MB / 1.512 GB, free: 5.117 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008972/0.6377, allocations: 476.6 kB / 1.512 GB, free: 4.625 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009452/0.6386, allocations: 0.5412 MB / 1.513 GB, free: 4.082 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007859/0.6394, allocations: 0.5601 MB / 1.513 GB, free: 3.52 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.6396, allocations: 128 kB / 1.513 GB, free: 3.395 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.6408, allocations: 0.5425 MB / 1.514 GB, free: 2.852 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.6411, allocations: 326.9 kB / 1.514 GB, free: 2.531 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006175/0.6417, allocations: 0.6102 MB / 1.515 GB, free: 1.918 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.6444, allocations: 1.817 MB / 1.517 GB, free: 96 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6444, allocations: 4 kB / 1.517 GB, free: 92 kB / 1.201 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6444, allocations: 0 / 1.517 GB, free: 92 kB / 1.201 GB Notification: Performance of Transformations before backend: time 2.828e-05/0.6444, allocations: 0 / 1.517 GB, free: 92 kB / 1.201 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.003057/0.6475, allocations: 1.497 MB / 1.518 GB, free: 14.56 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.6475, allocations: 8.031 kB / 1.518 GB, free: 14.55 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.6477, allocations: 148.2 kB / 1.518 GB, free: 14.4 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.6591, allocations: 1.799 MB / 1.52 GB, free: 12.6 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.661, allocations: 0.7608 MB / 1.521 GB, free: 11.81 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-05/0.6611, allocations: 77.94 kB / 1.521 GB, free: 11.73 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.6613, allocations: 91.98 kB / 1.521 GB, free: 11.64 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/0.6675, allocations: 1.882 MB / 1.523 GB, free: 9.719 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.6676, allocations: 0 / 1.523 GB, free: 9.719 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.6677, allocations: 40 kB / 1.523 GB, free: 9.68 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.6677, allocations: 20 kB / 1.523 GB, free: 9.66 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009909/0.6776, allocations: 2.802 MB / 1.526 GB, free: 6.852 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.6885, allocations: 5.338 MB / 1.531 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005553/0.694, allocations: 1.596 MB / 1.532 GB, free: 15.13 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00432/0.6983, allocations: 1.096 MB / 1.533 GB, free: 14.03 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.6984, allocations: 32.67 kB / 1.533 GB, free: 14 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004993/0.7034, allocations: 1.352 MB / 1.535 GB, free: 12.63 MB / 1.232 GB Notification: Performance of pre-optimization done (n=82): time 3.536e-06/0.7034, allocations: 0 / 1.535 GB, free: 12.63 MB / 1.232 GB Notification: Performance of matching and sorting (n=82): time 0.01529/0.7187, allocations: 3.476 MB / 1.538 GB, free: 9.141 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.7189, allocations: 188.6 kB / 1.538 GB, free: 8.914 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.7199, allocations: 0.6723 MB / 1.539 GB, free: 8.234 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.7201, allocations: 45.7 kB / 1.539 GB, free: 8.184 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.7205, allocations: 441 kB / 1.539 GB, free: 7.746 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.7208, allocations: 277.6 kB / 1.54 GB, free: 7.473 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003096/0.7211, allocations: 162.5 kB / 1.54 GB, free: 7.309 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.7213, allocations: 386.8 kB / 1.54 GB, free: 6.922 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004718/0.726, allocations: 1.068 MB / 1.541 GB, free: 5.852 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004713/0.7307, allocations: 1.166 MB / 1.542 GB, free: 4.66 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008279/0.739, allocations: 1.966 MB / 1.544 GB, free: 2.688 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.739, allocations: 0 / 1.544 GB, free: 2.688 MB / 1.232 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.009729/0.7488, allocations: 2.332 MB / 1.547 GB, free: 352 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.7488, allocations: 8 kB / 1.547 GB, free: 344 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.7488, allocations: 4.094 kB / 1.547 GB, free: 340 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.7494, allocations: 80.77 kB / 1.547 GB, free: 256 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/0.7519, allocations: 479.5 kB / 1.547 GB, free: 15.78 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.7542, allocations: 1.544 MB / 1.549 GB, free: 14.12 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/0.7569, allocations: 411.3 kB / 1.549 GB, free: 13.71 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.7571, allocations: 35.95 kB / 1.549 GB, free: 13.68 MB / 1.248 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.0006008/0.7577, allocations: 274.3 kB / 1.549 GB, free: 13.4 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.7579, allocations: 91.44 kB / 1.549 GB, free: 13.31 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/0.7683, allocations: 2.65 MB / 1.552 GB, free: 10.65 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.7683, allocations: 8 kB / 1.552 GB, free: 10.64 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.7683, allocations: 4 kB / 1.552 GB, free: 10.64 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.7683, allocations: 7.969 kB / 1.552 GB, free: 10.63 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/0.781, allocations: 4.402 MB / 1.556 GB, free: 5.852 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.781, allocations: 0 / 1.556 GB, free: 5.852 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002518/0.7835, allocations: 483.4 kB / 1.557 GB, free: 5.379 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/0.784, allocations: 68.8 kB / 1.557 GB, free: 5.309 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/0.7841, allocations: 27.97 kB / 1.557 GB, free: 5.281 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.7861, allocations: 1.566 MB / 1.558 GB, free: 3.598 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7861, allocations: 0 / 1.558 GB, free: 3.598 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009734/0.7959, allocations: 2.528 MB / 1.561 GB, free: 1.051 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007409/0.7966, allocations: 235 kB / 1.561 GB, free: 0.8203 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.7968, allocations: 16 kB / 1.561 GB, free: 0.8047 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002427/0.7992, allocations: 383.6 kB / 1.561 GB, free: 440 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.7994, allocations: 80.8 kB / 1.562 GB, free: 360 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.695e-05/0.7995, allocations: 35.97 kB / 1.562 GB, free: 324 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006942/0.8002, allocations: 491 kB / 1.562 GB, free: 15.84 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.8002, allocations: 0 / 1.562 GB, free: 15.84 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001063/0.8012, allocations: 375.1 kB / 1.562 GB, free: 15.48 MB / 1.264 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.01193/0.8132, allocations: 3.567 MB / 1.566 GB, free: 12.06 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.009715/0.8229, allocations: 2.42 MB / 1.568 GB, free: 9.629 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.8229, allocations: 0 / 1.568 GB, free: 9.629 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004908/0.8278, allocations: 1.316 MB / 1.57 GB, free: 8.297 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.8293, allocations: 318.2 kB / 1.57 GB, free: 8.008 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03579/0.8651, allocations: 11.31 MB / 1.581 GB, free: 12.54 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/0.8659, allocations: 1.047 MB / 1.582 GB, free: 11.46 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001333/0.8673, allocations: 318.9 kB / 1.582 GB, free: 11.14 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000784/0.8681, allocations: 419.2 kB / 1.583 GB, free: 10.74 MB / 1.279 GB Notification: Performance of SimCode: time 8.82e-07/0.8681, allocations: 3.938 kB / 1.583 GB, free: 10.73 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06963/0.9377, allocations: 25.53 MB / 1.608 GB, free: 1.426 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.66, allocations: 0 / 1.608 GB, free: 1.426 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.561173169000085]